in reply to Re: Re^6: Lexical pad / attribute confusion
in thread Lexical pad / attribute confusion

Which brings this doozie that I previously struggled with. Why can't peeker see @bar ?

Running perl 5.8 and PadWalker 0.08 you do!

$VAR1 = { '$foo' => \undef, '@bar' => [], '@foo' => [], '$bar' => \undef }; $VAR1 = { '$foo' => \'lee', '$bar' => \'Bar' }; $VAR1 = { '$foo' => \'lee', '@bar' => [ 9, 10, 11, 12 ], '$bar' => \'Bar' }; $VAR1 = { '$foo' => \'lee', '$bar' => \'Bar' };

Are you using the same version of PadWalker?

Replies are listed 'Best First'.
Re: Re: Re: Re^6: Lexical pad / attribute confusion
by shotgunefx (Parson) on Dec 22, 2002 at 21:18 UTC
    You are correct, it's been fixed. Using 5.6 with PadWalker 0.8 on my 'nix box it works fine. Previously it did not. (The script I originally tested the code for this post on was 5.6.1 Win32 with PadWalker 0.5)

    -Lee

    "To be civilized is to deny one's nature."