in reply to Re: accessing stashes
in thread accessing stashes
That comes close, but I want something like this (the code below does NOT work):
That should printuse strict; sub hubba { } for my $symbol qw(hubba bubba) { print "$_: "; print defined *My::$symbol{CODE} ? "yep": "nope"; print "\n"; }
How can I do that?hubba: yep bubba: nope
In Section
Seekers of Perl Wisdom