Re: Problem running LWP under modperl (LONG)

1999-12-21 Thread Doug MacEachern

On Tue, 21 Dec 1999, Barry Hoggard wrote:

 I can't get LWP::UserAgent to run correctly under modperl, but I can make it
 work from the command line or as a regular CGI.

strange, works fine here.

   }, 'HTTP::Headers' ),
  '_rc' = 500,
  '_msg' = 'Can\'t call method "new" without a package or
 object reference'
}, 'HTTP::Response' );
 
 500 (Internal Server Error) Can't call method "new" without a package or
 object reference Client-Date: Tue, 21 Dec 1999 17:46:19 GMT
 
 -
 
 The line where it dies is here (warnings added by me) in
 LWP::Protocol::http.  I never get the second warning under Registry.
 
 warn "CREATING SELECT with $socket";
 my $sel = IO::Select-new($socket) if $timeout;
 warn "SELECT CREATED";

hmm, any difference if you add 'PerlModule IO::Select' to httpd.conf?



Re: Problem running LWP under modperl (LONG)

1999-12-21 Thread Barry Hoggard

 
  The line where it dies is here (warnings added by me) in
  LWP::Protocol::http.  I never get the second warning under Registry.
 
  warn "CREATING SELECT with $socket";
  my $sel = IO::Select-new($socket) if $timeout;
  warn "SELECT CREATED";

 hmm, any difference if you add 'PerlModule IO::Select' to httpd.conf?


No difference.  I see IO::Select in my perl-status modules list.

Could it be a problem of shared .so perl?  Is that what you're using, or the
libperl.a version?



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