A
ant_howell
Hi
I'm using the Perl 'DO' command to successfully execute a Perl script
from inside an existing Perl script. I'm using the following piece of
code:-
do '<path to script>\\script.pl'
Now, is there a way to use the above but also pass the script being
called, a parameter list? I've tried this several times with no luck.
The $! value is "No such file or directory",
Basically I am using
do '<path to script>\\script.pl param1 param2'
Alternatively, if there is another way to call a script with parameters
from inside another script, except using a system call, then I'm all
ears!
Regards
Ant
I'm using the Perl 'DO' command to successfully execute a Perl script
from inside an existing Perl script. I'm using the following piece of
code:-
do '<path to script>\\script.pl'
Now, is there a way to use the above but also pass the script being
called, a parameter list? I've tried this several times with no luck.
The $! value is "No such file or directory",
Basically I am using
do '<path to script>\\script.pl param1 param2'
Alternatively, if there is another way to call a script with parameters
from inside another script, except using a system call, then I'm all
ears!
Regards
Ant