[Petal] using $ in petal
Fergal Daly
fergal at esatclear.ie
Sat Apr 1 14:44:22 BST 2006
I thought \$ was the one but if it's not working for you then I don't
have a suggestion beyond reading the source or using one of the other
perl TAL implementations which don't have $ syntax,
F
On 3/29/06, Jonathan Vanasco <jon at 2xlp.com> wrote:
>
> 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 )
>
More information about the Petal
mailing list