|
|
| go ahead... be a heretic | |
| PerlMonks |
Symbol ? Re: Sub::Lexicalby Corion (Pope) |
| on May 15, 2002 at 20:52 UTC ( #166845=note: print w/ replies, xml ) | Need Help?? |
|
I haven't really played with it, but maybe Symbol (even in the core distribution) could be of help here - it generates anonymous globs, although not in the namespace you'd propably like (which ruins the 'Lexical' part of the module I guess):
Most likely, you'll have to come up with a good identifier scheme, maybe by mucking around with variable names with spaces in them or simply dieing, if a variable with your chosen prefix is used. Also, I'm not really sure if all that the module promises is true, as I believe that things get nasty if you nest subs two levels deep (or deeper) - that's one thing I miss from Pascal.
In Section
Code Catacombs
|
|
||||||||||||||||||||||