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

Re: Handling weird return values with or die

by jeroenes (Priest)
on Jul 05, 2001 at 16:31 UTC ( [id://94073]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system("blah foo beer!") <> -1 or die "error: $?";
    
  2. or download this
    system( @args ) == 0 or syscall_error( $?, "system @args" );
    
    ...
        ", signal: ", $error & 127, 
        " and dumped_core: ", $error & 128;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found