Re: using $ in petal
"Fergal Daly" <[email protected]> Wed, 29 Mar 2006 09:55:05 +0100
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
Petal is not strict TAL, it also includes some "features" like $variable being the same as <span petal:replace=3D"variable" />. So I guess $aa is being replaced it's value (ie blank), my guess is that something in the parser is wrong so it doesn't correctly recognise single letter variables with $, F On 3/29/06, Jonathan Vanasco <[email protected]> wrote: > i can't figure this out > > if $a is in a document, petal shows me '$a' -- good. > > if $aa is in a Petal template, its stripped out. any $ followed by 2 > or more chars is stripped out. > > does anyone know why? bug , feature , workaround ? i was trying to > use petal to generate some downloadable customized php snippets, and > i've tried just about every escape sequence with no luck. > > >