[BUG] CGI and URI::URL modules collision

Stas Bekman (sbekman@iil.intel.com)
Thu, 9 Oct 1997 22:40:05 +0200 (IST)


Hello,

This is a bug report:
for Linux 2.30 , IRIX5.3, Solaris OSs
URI::URL is part of LWP5.13 and CGI is 2.36
perl 5.004.01 

Whenever I use:

use CGI qw(:standard :html2);
use  URI::URL;;

and run the perl5.004.01 perl on these two lines I get:

Prototype mismatch: sub main::url vs ($;$) at
/usr/local/lib/perl5.004/Exporter.pm line 155
        Exporter::export('URI::URL', 'main') called at
/usr/local/lib/perl5.004/Exporter.pm line 171
        Exporter::import('URI::URL') called at makestat.pl line 17
        main::BEGIN() called at
/big/dom/xeprotec/cgi-bin/lib/lib/perl5.003/site_perl//URI/URL.pm line 0
        eval {...} called at
/big/dom/xeprotec/cgi-bin/lib/lib/perl5.003/site_perl//URI/URL.pm line 0

It doesn't matter what machine it runs on since I have this problem on
Linux and IRIX mercury 5.3, Solaris

At least one more person reported on my request with the same problems

It doen't stop the program from running from the shell, but it results
server error once running thru the web

Any hints?

Please, reply directly (since I'm not on mailing list)

Thank you



______________________________________________________________________
Stas Bekman     
Address:        Aba Silver 12/29, Haifa, 32694, Israel  
Phones:         [w]  972-(0)4-865-5188, [h]  972-(0)4-828-2264/3020
Home Page:      http://techunix.technion.ac.il/~ofelix     
Resource Center http://www.eprotect.com/stas/TULARC (Java,CGI,PC,Linux)
Linux-il Home:  http://www.linux.org.il/