in reply to calling methods using array variables
which is actually a object reference, from which calling a function with arguments passed.@jobIds = $jobs->get_jobIds($ARGV[0]);
But this is not right. How would I achieve this for a object reference.@jobIds = $jobs->$args_input[2]($args_input[3]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling functions using array variables
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 |