Line 105, HTTP::Request, Rev. 1.27:

  unless ($HTTP::URI_CLASS eq "URI") {
        # Argh!! Hate this... old LWP legacy!
        eval { $uri = $uri->abs; };
        die $@ if $@ && $@ !~ /Missing base argument/;
        }

I have problems with this sanity check, since it happens that in my
application $HTTP::URI_CLASS was "URI::http", whose abs() method needs
a second argument, the base argument.

So, wouldn't it be better to use 
   
   $HTTP::URI_CLASS  =~ /URI:?/ 

as conditional for the 'old LWP legacy'-check ?? (whatever this means)

bye...
-- 
                                                        ...roland huss
                                                             consol.de

Reply via email to