Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Syntactic Confectionery Delight
 
PerlMonks  

Re: Of Symbol Tables and Globs

by dws (Chancellor)
on Nov 08, 2002 at 21:58 UTC ( #211560=note: print w/ replies, xml ) Need Help??


in reply to Of Symbol Tables and Globs

No treatment of symbol tables and globs is truly complete without a walkthrough (or at least a mention) of that wonderous piece of twisted beauty, Symbol::gensym().


Comment on Re: Of Symbol Tables and Globs
Download Code
Re^2: Of Symbol Tables and Globs
by Random_Walk (Parson) on Jul 20, 2005 at 12:03 UTC

    For those intrigued as I was here is a link to Symbol documentation. And a brief cut'n'past from aforementioned docs ...

    Symbol::gensym creates an anonymous glob and returns a reference to it. Such a glob reference can be used as a file or directory handle.

    A search found it used to open a bunch of file handled in the days before you could do lexical file handles (see first answer in Open file issues)

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211560]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-04-17 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (443 votes), past polls