On Thu, 7 Dec 2006, Joel E. Denny wrote:

>   lhs: rhs
>     ${
>       my $$var = "text";
>       $$var =~ m/(ex)/;
>       print "These must be escaped: $$1 ", '$$}', "\n";
>     $}
> 
> And the output is:
> 
>   These must be escaped: tt $}
> 
> I didn't give too much thought to the above, so it's probably not the best 
> syntax, but hopefully you get the idea.

Sigh.  Clearly the above is broken since $$ has a meaning already in Bison 
actions, but surely some other notation could devised.


Reply via email to