Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by harleypig (Scribe)
on Jul 24, 2005 at 16:01 UTC ( #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


Comment on Re^2: I got IPC::Open3 to work!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-12-20 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls