>Hi;
>I need to add a line that calls a shell script to a perl script I found. Is it 
>as simple as just adding the path of the script?
>
>else
>    /usr/local/bin/my_script.sh
>

Hello,

You could write it like:

system "/usr/local/bin/my_script.sh";

If you expect the shell script's output,then write:

my @re = `/usr/local/bin/my_script.sh`;  # catch the output to an array
print @re; # print the results

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to