There's more than one way to do things | |
PerlMonks |
Re^2: undef/defined &{$name} while "strict refs"by anazawa (Scribe) |
on Aug 21, 2012 at 03:22 UTC ( [id://988560]=note: print w/replies, xml ) | Need Help?? |
Thanks to your explanation, I understand "strict refs" allows the following:
Your code shows how we avoid throwing exceptions. I think, however, it's still unclear why defined/undef &{ 'run' } doesn't throw exceptions while "strict refs".
In Section
Seekers of Perl Wisdom
|
|