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?? |
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.
In Section
Seekers of Perl Wisdom
|
|