Subject: | constructor problem and many others |
To reproduce the bugs, simply execute it in shell:
perl -le 'use URI; print URI->new("foo","http")->scheme;'
Output is expected to be 'http', but I get nothing! Many other methods like authority, host are all affected.
perl -le 'use URI; print URI->new("hi.com","ftp")->host;'
I test it with perl 5.8 on Debian and RedHat Linux.