in reply to Adding variables to Spew grammar

I don't believe you'll be able to do that. I never envisioned doing that, so if anything similiar to that "worked", it'd be quite by accident.

Note my security bug in the manpage though... any code contained within the "double quote inline executors" will be executed, so you might be able to get a similar effect with something like:

BEGIN { our $foo = "Matt" } # has to be BEGIN to be early enough use Inline Spew => q{ person: "@{[$foo]}" START: person | person person };
Actually, that may even work without the extra layer of evaluation there. Dunno. Maybe I should add replaceable components to the spew language.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.