Re: using $ in petal
Jonathan Vanasco <[email protected]> Wed, 29 Mar 2006 11:37:47 -0500
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
On Mar 29, 2006, at 3:55 AM, Fergal Daly wrote: > Petal is not strict TAL, it also includes some "features" like > $variable being the same as <span petal:replace="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 $, Are there any known workarounds? I can't seem to figure out any way to put the string $abc into a document \$var didn't work $$var didn't work $ isn't a standard html entity - its a 'special character' and not widely supported $ is on some spec sheets, but i haven't found a browser that shows it $ is the equiv, but Petal seems to parse it as a $ for interpolation ( so $a works, but $a[a]* doesn't )