Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 scrutinizing the Monastery: (9)
As of 2015-07-04 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls