in reply to Re^7: accessing stashes
in thread accessing stashes
First of all thanks a lot for solving my problem.
But I was wondering if there is an expression that would avoid having a two-step solution (i.e. without first assigning a temporary $glob variable).
So is there an expression that when I have a symbol ("hubba" say) I could do a
(or something like that) to determine whether or not there is a sub-routine of that name in the main-package.$some_convoluted_expression{hubba}->{CODE}
But this is for bonus-points only...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: accessing stashes
by ikegami (Patriarch) on Mar 01, 2019 at 20:46 UTC | |
by morgon (Priest) on Mar 01, 2019 at 20:55 UTC |
In Section
Seekers of Perl Wisdom