rsennat has asked for the wisdom of the Perl Monks concerning the following question:
use jobs; #local package use args_xml; #local package #the array has function name and its arguments in 2 and 3 @args_input = args_xml::read_file($filename); my $jobs = jobs->instance(); # @jobIds = $jobs->get_jobIds($ARGV[0]); #actual func. call @jobIds = $jobs->$args_input[2]($args_input[3]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling functions using array variables
by tphyahoo (Vicar) on Nov 28, 2005 at 10:27 UTC | |
|
Re: calling functions using array variables
by davorg (Chancellor) on Nov 28, 2005 at 10:38 UTC | |
|
Re: calling functions using array variables
by rsennat (Beadle) on Nov 28, 2005 at 10:38 UTC | |
by davorg (Chancellor) on Nov 28, 2005 at 10:44 UTC | |
by friedo (Prior) on Nov 28, 2005 at 14:34 UTC | |
by rsennat (Beadle) on Nov 28, 2005 at 10:50 UTC |