XP is just a number | |
PerlMonks |
Re^3: Executing Systems Calls with Careby matija (Priest) |
on Feb 15, 2005 at 09:23 UTC ( [id://431072]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|