Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Why does Perl have typeglobs?

by Discipulus (Canon)
on Jul 09, 2014 at 10:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1092879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-23 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found