in reply to Re^8: undef/defined &{$name} while "strict refs"
in thread undef/defined &{$name} while "strict refs"
Athanasius clarified what I wanted to say. Thanks a lot :)
By the way, the following is equivalent to the code in question:
In this case, "no strict refs" is required and it seems reasonable. Should we cosider defined &{ 'walk' } not to be a recommended expression?no strict 'refs'; my $walkable = defined *{ 'walk' }{CODE};
|
---|
In Section
Seekers of Perl Wisdom