I've been staring at this unholy construct $self->{&{\&{$testname}}}->($system); for about 15 minutes, And I still haven't a clue what it's meant to do.This is a very obscure and useless feature of Perl. Documented in strict
is allowed so that "goto &$AUTOLOAD" would not break under stricture.$bar = \&{'foo'}; &$bar;
In reply to Re^2: how to call a sub via variable in library
by Anonymous Monk
in thread how to call a sub via variable in library
by glenn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |