Re: Problem timing out XML::LibXML parse_html_string call

Sam Tregar <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
On Tue, Feb 3, 2009 at 4:11 PM, Aaron Crane <[email protected]> wrote:

> You can switch back to the pre-5.8 signal-handling behaviour by
> setting the environment variable PERL_SIGNALS to 'unsafe'.  This has
> to have happened at the point Perl starts executing; you can't do it
> by setting that variable from inside your code.  For example, using
> env(1):
>
>    $ env PERL_SIGNALS=unsafe perl your_program.pl
>

Thanks!  This does indeed work.  I'm still in the market for a safer
solution if anyone has one, but this will do for now.

-sam

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.