If you want to capture the return code from the other program then you need system.
Other methods for calling external programs (and another Perl program is just like any other external program) include backticks (aka qx//), fork/exec and open.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Call one Perl Script from another
by davorg
in thread Call one Perl Script from another
by Bucchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |