On Tuesday 11 December 2001 02:16 am, you wrote:
> Hello-
> Strange problem I've got here with the included sample httpd.perl
> script...  After running for awhile (sometimes a few hours, sometimes a few
> days...) it seems to die out.  Here's the last thing I see before it dies:
>
> Received a request from 127.0.0.1 : 44534
> Can't locate object method "uri" via package "HTTP::Headers" at
> /usr/lib/perl5/site_perl/5.005/HTTP/Message.pm line 189.
>
> Can anyone offer a suggestion as to what's going on?  Thanks.

Yes, the latest version of libwww-perl does not include URI::URL anymore.  
It's depreciated.  You now need to use simply URI.  The latest POE cvs 
contains a fix for this and things once again work properly.  Or, you can
modify your POE::Filter::HTTPD and change the line that has

my $r = HTTP::Request->new($1, url($2));

to

use URI;
my $r = HTTP::Request->new($1, URI->new($2));

Fixed. :)

> -a

Reply via email to