http://qs321.pair.com?node_id=1230727


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):
use strict; sub hubba { } for my $symbol qw(hubba bubba) { print "$_: "; print defined *My::$symbol{CODE} ? "yep": "nope"; print "\n"; }
That should print
hubba: yep bubba: nope
How can I do that?