|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: die silently in an eval block while using alarmby andal (Pilgrim) |
| on Feb 22, 2013 at 07:49 UTC ( #1020097=note: print w/ replies, xml ) | Need Help?? |
|
I can't really see, how "die" in your code could produce any output. It is called by ALRM signal handler inside of eval, so the output of "die" is saved in $@ and not printed anywhere. If you get some output, then it comes from somewhere else. Check for example this code
You'll never see "Waiting finished" because it is stored in $@ variable and the code does not print it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||