Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?


Comment on Re: How to run a Perl script from another script?
Download 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 wandering the Monastery: (12)
As of 2015-09-02 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (84 votes), past polls