Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Executing Systems Calls with Care

by matija (Priest)
on Feb 15, 2005 at 09:23 UTC ( #431072=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Executing Systems Calls with Care
in thread Executing Systems Calls with Care

Will it work if you substitute &some_subroutine; instead of die?

Well, in principle, sure. But make sure that he some_subroutine realizes that there may be error conditions it can't handle, and dies if it encounters a situation it isn't explicitly designed to handle.

You need to be defensive when you're designing this subroutine. Defensive and paranoid.


Comment on Re^3: Executing Systems Calls with Care
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2015-07-31 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls