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

Re^3: system command

by tachyon-II (Chaplain)
on Jun 18, 2008 at 14:05 UTC ( [id://692708]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $output = `perl 2.pl`;
    if ($output =~ m/some random error message/) {
        die "Computer says no";
    }
    
  2. or download this
    eval{ do '2.pl' };
    die "Aaaagh! $@" if $@;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found