Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Why does Perl have typeglobs?

by Discipulus (Abbot)
on Jul 09, 2014 at 10:41 UTC ( #1092879=note: print w/replies, xml ) Need Help??


in reply to Why does Perl have typeglobs?

just a little contribution to this instructive thread..
Have you read Of Symbol Tables and Globs by broquaint? You'll find very interesting.

The final comment of the article says:

So in summary, symbol tables store globs and can be treated like hashes. Globs are accessed like hashes and store references to the individual data types. I hope you've learned something along the way and can now go forth and munge these two no longer mysterious aspects of perl with confidence!

Typeglobs are used in many magic use of Perl as in Using the DATA file handle for ARGV
HtH
L*


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2019-08-21 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?