The "Inline" module generates code - that code gets generated BEFORE the "$foo="Matt" statement gets evaluated.
Not sure what the solution to this would be, but you can experiment with BEGIN blocks, to apply a value to $foo before the Inline module is invoked.
"There are only two truly infinite things. The universe and stupidity, and I'm not too sure about the universe"- Albert Einstein
In reply to Re: Adding variables to Spew grammar
by NetWallah
in thread Adding variables to Spew grammar
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |