Dan Sugalski wrote: > > > I'd also like to see lexicals addressed by name through some sort of symbol > table-ish thing. Maybe: > > $PAD{my_var}[-1] > > would give a ref to the lexical my_var that exists one level of scope out > from the current, or at least the my_var that's masked by the most recent > declaration of my_var. (So [0] is the current, [-1] the next most recent, > [-2] the one outside that, and so on) I like the idea... it's evil. (I hope it never makes it into the language though.) Can you imagine doing this for 'local'? That would lead to some pretty neat obfuscated code... Hildo
- Typeglobs, filehandles, asterisks Peter Scott
- Re: Typeglobs, filehandles, asterisks skud
- Re: Typeglobs, filehandles, asterisks Tom Christiansen
- Re: Typeglobs, filehandles, asterisks Ted Ashton
- RE: Typeglobs, filehandles, asterisks Garrett Goebel
- RE: Typeglobs, filehandles, asterisks Dan Sugalski
- Re: Typeglobs, filehandles, asterisks Hildo Biersma
- Re: Typeglobs, filehandles, asterisks Dan Sugalski
- Re: Typeglobs, filehandles, asteris... Buddha Buck
- Re: Typeglobs, filehandles, ast... Sam Tregar
- Re: Typeglobs, filehandles, ast... Nick Ing-Simmons
- Re: Typeglobs, filehandles,... Matthew Persico
- Re: Typeglobs, filehandles, asteris... Chaim Frenkel
- Re: Typeglobs, filehandles, ast... Dan Sugalski
- Re: Typeglobs, filehandles,... Chaim Frenkel
- multiline comments Michael Mathews
- Re: multiline comments Tom Christiansen