Re: lwp-0.03 released
Andreas Koenig (k@anna.mind.de)
Mon, 14 Aug 1995 12:00:52 +0200
Gisle (and Martijn),
yesterday I finally managed to run lwp-0.03 and I must say, it's an
amazing adventure. Great work, thanks!
But there's a hair in the soup:
Until today it seems to have remained unnoticed that URI::URL 3.02 was
the version that changed the subroutine name C<elem> to C<_elem>.
That broke CGI::Base. One way to fix it is the patch below. The other
would be to change URI::URL back :) Other fixes might exist as well :)
Kind regards,
andreas
--- Base.pm.2.4 Mon Aug 14 11:50:19 1995
+++ Base.pm Mon Aug 14 11:50:40 1995
@@ -779,7 +779,7 @@
push(@h, sprintf("URI = %s", html_escape($uri)));
if ($uri) {
foreach(qw(netloc path query frag)){
- my $val = $uri->elem($_);
+ my $val = $uri->_elem($_);
$val = (defined $val) ? "'$val'" : 'undefined';
push(@h, sprintf("URI %7s = %s", $_, html_escape($val)));
}
andreas