Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Of Symbol Tables and Globs

by broquaint (Abbot)
on Nov 11, 2002 at 11:40 UTC ( #211895=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Of Symbol Tables and Globs
in thread Of Symbol Tables and Globs

I still think, actualy, that symbol tables are magic hashes, and not another sort of entity
After some further investigation I've come to the conclusion that under the hood symbol tables are indeed just fancy hashes. So I now sit corrected :) I believe their special properties are as follows
  • can't be lexically declared (due to the ::)
  • they can be declared with a package declaration
  • they hold the globs which hold the package level variables/subroutines/etc
  • must have a :: appended to the name to qualify as a symbol table
  • probably other bits and pieces which don't spring to my misty mind on a Monday morning
I guess this means I'll have to change a lot of the wording, but at least it'll be accurate this time. Thanks for forcing me to put my money where my node is :)

_________
broquaint


Comment on Re: Re: Re: Re: Re: Re: Of Symbol Tables and Globs

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-11-22 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (125 votes), past polls