[VPM] Symbolic references with use strict in effect.

Ken Clarke kencl at shaw.ca
Mon Jun 5 05:21:22 PDT 2006


You could use the string form of eval to call it:

use strict;
my $nameOfSub = "foo";       
my $args = "hello world!";   
my $subCall = "\&$nameOfSub";
eval "$subCall('$args')";
 
>> Ken Clarke
>> Contract Web Programmer / E-commerce Technologist
>> www.PerlProgrammer.net
  




More information about the Victoria-pm mailing list