Re: Another simple question, concatenation

Fergal Daly <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
On Tue, Feb 08, 2005 at 03:43:48PM -0500, Josh Narins wrote:
> I've got my dynamic includes working, I used the Petal::Hash::Include
> method, thanks for all the help.
> 
> Now I am working with petal:attribute
> 
> I have a variable, the server name, stored in a hash.  But I want to add
> a constant string to the end of the variable, sorta like this...
> 
> <form method="GET" action="https://" 
>      petal:attributes="action c/SROOT + '/path' " />
> 
> But that doesn't work.
> 
> Any ideas?

"action string:${c/SROOT}/path"

should do what you want,

Fergal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.