Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by theorbtwo (Prior)
on Nov 09, 2002 at 20:42 UTC ( [id://211680]=note: print w/replies, xml ) Need Help??


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

I sit corrected, in my expensive wheelychair that shows up in TV shows, but that I got cheaply because it was missing a lumbar support pillow, and the co. was going out of busniess. (Yes, that sentance rambled on for no relevant reason, just like this one.) However, it seems in several places, IIRC, that you're calling both symbol tables and globs "like hashes, but not". (I still think, actualy, that symbol tables are magic hashes, and not another sort of entity, but I'll need to doublecheck in the source, which isn't handy.)


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

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

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Of Symbol Tables and Globs
by broquaint (Abbot) on Nov 11, 2002 at 11:40 UTC
    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found