in reply to Re^5: accessing stashes
in thread accessing stashes
I know that.
But I want one expression to determine the condition, I want to avoid (for reasons of pure idiocy) to have an extra assignment...
So something like
But I cannot do it...print defined *main::{$symbol}->*{CODE} ? "yep": "nope";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: accessing stashes
by ikegami (Patriarch) on Mar 01, 2019 at 19:55 UTC | |
by morgon (Priest) on Mar 01, 2019 at 20:18 UTC | |
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