Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: typeglob/symbolic reference question

by ikegami (Pope)
on Nov 04, 2010 at 02:39 UTC ( #869393=note: print w/replies, xml ) Need Help??


in reply to Re^2: typeglob/symbolic reference question
in thread typeglob/symbolic reference question

The symbol table entries are globs. They're associative arrays (like hashes) where the keys are data types. No, you're not grabbing what's in the glob slot of the glob, you're grabbing the glob itself.

When you assign a reference to a glob, it gets assigned to the appropriate slot. *foo = []; assigns to the ARRAY slot; *foo = sub {}; assigns to the CODE slot.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-11-01 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (291 votes). Check out past polls.

    Notices?