Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Symbolic refs aka. dynamic variables again

by grantm (Parson)
on Apr 24, 2003 at 19:57 UTC ( [id://252984]=note: print w/replies, xml ) Need Help??


in reply to Re: Symbolic refs aka. dynamic variables again
in thread Symbolic refs aka. dynamic variables again

I'm not going to pretend deep knowledge of Perl internals, but the typeglob structure allocates sufficient space to point to ...

  • a scalar value - $foo
  • an array value - @foo
  • a hash value - %foo
  • a subroutine - &foo
  • a filehandle - foo
  • a format - foo

Whereas each hash key points directly to a scalar value (SV)

  • Comment on Re: Re: Symbolic refs aka. dynamic variables again

Replies are listed 'Best First'.
Re^3: Symbolic refs aka. dynamic variables again
by particle (Vicar) on Apr 24, 2003 at 20:08 UTC

    you forgot one slot in the glob, the glob itself - *foo

    ~Particle *accelerates*

      Globs are not Klein bottles. There is no slot in a glob for the glob.

      (Aristotle noted that I spelled "Klein" wrong)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found