Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Re^2: NO PERL 6by Elian (Parson) |
on Dec 10, 2002 at 21:45 UTC ( [id://218926]=note: print w/replies, xml ) | Need Help?? |
Don't forget that uses are compile-time things. You throw the parser modification code into a module and use it in the block that you want it in effect for. The module then pushes the changes to the parser module out to the user's scope. Then, when the compiler continues on it uses the new parser code.
Something like the way strict works now, pushing things out to its caller.
In Section
Meditations
|
|