On Wednesday 19 February 2003 08:16, Paul wrote:

>
> Er? Sorry, I don't mean for this to sound as bad as it does, but....
> have you read the docs that *come* with Perl????

i will let you take a guess.

>
> Perhaps a mistaken assumption. Could someone delineate the difference
> between package variable value and the symbol table? I thought the
> symbol table was also use to store the actual values....
>

yes but probably not the value that you expect. for example:

[xx@panda] perl -e '$yy=1; print "$_\n" for(keys %::)' | grep yy
yy
[xx@panda] perl -e '$yy=1; print "$_\n" for(values %::)' | grep yy
*main::yy

>
> Mistermed, then. I'm ignorant here, and trying to cure that. Point me
> to the stack docs?
>

sure. checkout perl hack at:

http://www.perldoc.com/perl5.8.0/pod/perlhack.html#Stacks

you should read argument stack, mark stack and the save stack. in particular, 
you don't want to miss save stack since it tells you how Perl inplements 
'local $x' via the save stack.

i will answer (or i will try to) your other questions offline.

david

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to