Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://396592]
NodeReaper cleans and fillets

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2017-02-22 04:41 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (324 votes). Check out past polls.