Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: I got IPC::Open3 to work!

by harleypig (Monk)
on Jul 24, 2005 at 16:01 UTC ( [id://477575]=note: print w/replies, xml ) Need Help??


in reply to Re: I got IPC::Open3 to work!
in thread I got IPC::Open3 to work!

The function only returns undef in that instance. I hate having some generic function die on me unexpectedly, especially when my boss calls me up shouting "You're stoopid program doesn't work!" I'd rather leave the choice to the calling program:

callexternalpgm( parms ) or die "$!";
or, more likely,
callexternalpgm( parms ) or LogIt( "Error calling external program: $! +" );
Harley J Pig

Log In?
Username:
Password:

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

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

    No recent polls found