Re: Another simple question, concatenation

William McKee <[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.

Glad to hear that method works. Could you show me the code you ended up
using so I can have examples for adding include: modifier to
Petal::Utils.

> <form method="GET" action="https://" 
>      petal:attributes="action c/SROOT + '/path' " />

Try this (assuming c/SROOT is an assigned value; I'm not entirely sure
about the {} around the variable name):

 <form method="GET" action="https://" 
      petal:attributes="string:action ${c/SROOT}/path" />


William

-- 
Knowmad Services Inc.
http://www.knowmad.com
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.