http://qs321.pair.com?node_id=396592


in reply to How to run a Perl script from another script?

When calling scripts or executing shell commands, I prefer to use this type of command so a return code is captured.

my $jobStatus = `bjobs $jobID`;

Are there any reasons to avoid this method? Do you prefer other methods for capturing the return code?