in reply to Re: Re: %main:: and my'd vars
in thread %main:: and my'd vars
I dont get any o/p . why is this so? Code in "xyz" file:use PadWalker qw(peek_my); do "xyz"; #this file has many hashrefs defined foreach $item (keys %{peek_my(0)}) { print $item,"\n"; print $item if (ref $item eq ref {}); }
$a1 = { 'p' => 1, 'q' => 2, }; $a2 = { 'p' => 1, 'q' => 2, };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: %main:: and my'd vars
by LanX (Saint) on May 11, 2023 at 20:44 UTC |