Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Executing perl script from perl scripts

by moritz (Cardinal)
on May 15, 2008 at 13:11 UTC ( [id://686725]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system($^X, '1.pl'); # and check for system's return value!
    ok(1, 'Test 1');
    system($^X, '2.pl');
    ok(2, 'Test 1');
    
  2. or download this
    my $res = qx($^X 1.pl);
    chomp $res;
    ...
    $res = qx($^X 2.pl);
    chomp $res;
    is($res, 2, '2.pl worked');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-26 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found