Just another Perl shrine | |
PerlMonks |
Re^2: Problem timing out XML::LibXML parsingby hobbs (Monk) |
on Feb 04, 2009 at 00:54 UTC ( [id://741155]=note: print w/replies, xml ) | Need Help?? |
The other thing that you can do, which is also documented in perlipc, is to use POSIX::sigaction() to set your handler, which has the advantage of only invoking the "unsafe" behavior for that particular SIGALRM and not for any signal your app might catch, ever. You decide whether that sounds worth your time or not :)
In Section
Seekers of Perl Wisdom
|
|