Try:
sub fred{ print 'this is fred:' . "@_" ; };; $f = 'fred';; &{ $f }( 1,2,3 );; this is fred:1 2 3
In reply to Re: Problem calling a function with name stored into scalar
by BrowserUk
in thread Problem calling a function with name stored into scalar
by tj_thompson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |