Thanks/praise to Ken Williams.

My apologies for cross-posting, but I saw this discussed on both the modperl
and HTML::Mason lists.

A simple but effective fix for the problem I was having with LWP under
modperl, which was also affecting my ability to use it under mason.

>my $sel = IO::Select->new($socket) if $timeout;
>
>in LWP::Protocol::http::request (line 88),

when changed to

   my $sel = "IO::Select"->new($socket) if $timeout;

works!  For some reason mod perl was getting confused by IO::Select and was
trying to call CGI.pm's Select method instead.



--
Barry Hoggard
http://www.investorama.com
voice: 212-741-7954
email: [EMAIL PROTECTED]

Reply via email to