in reply to set uri resolver timeout in XML::SAX

That functionality isn't easily available.

The right way to do it is to write your own ExternEnt and/or ExternEntFin handlers.

You might give yourself a headstart by using the default handler which you should be able to find as XML/Parser/LWPExternEnt.pl somewhere under your Perl's lib directory. You could probably just copy that file elsewhere, change the call to LWP::UserAgent's constructor, rename the subroutine and set it as your custom handler. Don't hold me to it though.

Good luck!

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: set uri resolver timeout in XML::SAX