|
|
| "be consistent" | |
| PerlMonks |
Re^3: Program unexpectedly terminatesby ColonelPanic (Friar) |
| on Nov 19, 2012 at 09:09 UTC ( #1004491=note: print w/ replies, xml ) | Need Help?? |
|
Thanks for the additional information. I didn't understand that you were trying to trap explicit calls to exit(). That makes sense, then. Playing around more with the BEGIN block, I found that an exit() statement within another package was only overridden if the BEGIN block came before the package definition. Do you have this block before you include all of your modules? Also, would Test::Trap be helpful? When's the last time you used duct tape on a duct? --Larry Wall
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||