Re: Typeglobs, filehandles, asterisks

2000-08-02 Thread skud
Could you please write up an RFC on this? K. On Tue, Aug 01, 2000 at 10:04:38AM -0700, Peter Scott wrote: There was some discussion at TPC4 that typeglobs could be expunged from P6. If this is likely, it would free up a type-defining punctuation character (*). Could this be used for

RE: Typeglobs, filehandles, asterisks

2000-08-01 Thread Dan Sugalski
At 12:18 PM 8/1/00 -0500, Garrett Goebel wrote: Personally, I like to be able to directly access the symbol table. It is nice when generating classes from a template. I hope typeglobs go in the washing machine instead of the bathtub. But, I don't mind it they are hard to recognize when they come

Re: Typeglobs, filehandles, asterisks

2000-08-01 Thread Dan Sugalski
At 06:59 PM 8/1/00 +0100, Hildo Biersma wrote: 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,

Re: Typeglobs, filehandles, asterisks

2000-08-01 Thread Dan Sugalski
At 05:19 PM 8/1/00 -0600, Tom Christiansen wrote: Typeglobs != symbol tables. You can access individual variable bits in the symbol table now without using typeglobs. I don't see why that would have to change. NB: $main::{fred} does not autoviv a typeglob when used lvaluably, but