Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: calling a perl script within a perl scriptby sk (Curate) |
on Nov 27, 2005 at 02:29 UTC ( [id://511975]=note: print w/replies, xml ) | Need Help?? |
You need to change that to -
Also, your || die is tricky. If your test_script.pl returns a zero then it will die. backticks return something so use it. Also consider using system and check for the return on the system call. An example of the return problem -
In Section
Seekers of Perl Wisdom
|
|