P is for Practical | |
PerlMonks |
Re: Is it possible to use a scalar to call a subroutine?by originalgeek (Initiate) |
on May 06, 2010 at 17:10 UTC ( [id://838762]=note: print w/replies, xml ) | Need Help?? |
Try:
my $sub = \&do_this;
In Section
Seekers of Perl Wisdom
|
|