Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

*foo{THING}

by Sec (Scribe)
on Jul 20, 2005 at 10:16 UTC ( #476452=perlquestion: print w/ replies, xml ) Need Help??
Sec has asked for the wisdom of the Perl Monks concerning the following question:

In the source of Attribute::Handlers, I found *{$globref}{NAME}. I tried to find documentation on that, but failed.
I know about *foo{THING} in "perlref", but it only describes
$scalarref = *foo{SCALAR}; $arrayref = *ARGV{ARRAY}; $hashref = *ENV{HASH}; $coderef = *handler{CODE}; $ioref = *STDIN{IO}; $globref = *foo{GLOB};
No mention of *foo{NAME}. Can anyone show me where that is documented, and what other *foo{THING}s are defined?

Comment on *foo{THING}
Download Code
Replies are listed 'Best First'.
Re: *foo{THING}
by dave_the_m (Parson) on Jul 20, 2005 at 10:59 UTC
    NAME is the name of the glob, eg
    $ ./perl -le 'print *FOO{NAME}' FOO $
    Not sure why it isn't documented. Theres also FORMAT and PACKAGE.

    Dave.

Re: *foo{THING}
by tphyahoo (Vicar) on Jul 20, 2005 at 11:11 UTC
Re: *foo{THING}
by ysth (Canon) on Jul 21, 2005 at 16:10 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://476452]
Approved by GrandFather
Front-paged by jbrugger
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-30 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls