But either of the following will in fact work (the second only under some conditions):
ormy $x=sub{goto &$ref}->();
my $x=&{$::{$ref}}();
In reply to Re: variable reference to subroutine while "strict"
by ysth
in thread variable reference to subroutine while "strict"
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |