use strict; sub foo { print "It's all good."; } my $subref = \&{ "foo" }; &$subref; __output__ It's all good.
_________
broquaint
In reply to Re^3: Can't Reference a Sub by Variable when using Strict
by broquaint
in thread Can't Reference a Sub by Variable when using Strict
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |