Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to run a Perl script from another script?

by bwelch (Curate)
on Oct 05, 2004 at 14:28 UTC ( #396592=note: print w/ replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://396592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2016-06-27 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.