http://qs321.pair.com?node_id=211517


in reply to Re: Of Symbol Tables and Globs
in thread Of Symbol Tables and Globs

*glob{FORMAT} is not mentioned in my copy of perlref where this {THING} syntax is described.

Was that added later? What version? What would you assign it to?

It also notes that the {IO} slot comingles two distinct values, the file handle and directory handle.

Replies are listed 'Best First'.
Re: Re: Re: Of Symbol Tables and Globs
by chromatic (Archbishop) on Nov 08, 2002 at 23:17 UTC

    I believe the FORMAT slot has been present since the birth of typeglobs, but I don't have the source code to prove it. It's like the IO slot -- you can't really assign to it directly. (Since formats are associated strongly with filehandles, it makes a certain amount of sense.)