Either way a simple no strict 'refs'; seems like the way to go.
sub foo { print "in foo\n"; } { no strict 'refs'; &{"foo"}; }
In reply to Re: Re: Re: variable function thingy
by rir
in thread variable function thingy
by nujersedvl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |