A little bug in HTTP:Request 1.24

cuenta de webamster de apache (apache@master.abrente.es)
Thu, 4 Feb 1999 14:20:56 +0100 (MET)


 
Hello!

I am using libwww-perl for a Web Robot and it seems to me that
HTTP:Request has a little bug.

In HTTP:Request 1.24, line 107 there is a test for an exception error
like this:

die $@ if $@ && $@ !~ /^Missing base argument/;
	
But the error that raises in my perl has the date an the script name
at the begining so it fails to match:

[Thu Feb 4 13:21:21 1999] get-doc: Missing base argument at
/usr/local/perl/lib/site_perl/5.005/HTTP/Request.pm line 106

I have solved the problem deleting the '^'

I have perl 5.005_02 with thread support and run it under Solaris
2.5.1 for Sparc.

Bye!

  - Salva.