Re: Proxying in LWP .01
Gisle Aas (aas@oslonett.no)
Tue, 18 Jul 1995 23:31:05 +0200
> --- LWP/UserAgent.pm Tue Jul 18 22:09:53 1995
> ***************
> *** 126,131 ****
> --- 126,132 ----
> 'useEval' => 1,
> 'useAlarm' => 1,
> 'maxRedirect' => 5,
> + 'noProxy' => [],
> }, $class;
> }
> }
Did you notice this?
sub clone
{
my $self = shift;
# this works because no values of %$self are references.
bless { %$self }, ref $self;
}
If you clone an UserAgent they will now share the 'noProxy' array!! There should have been some general cloning routine that traverses structures.
Thanks for the patch anyway!
With this speed of patches flying around there should soon be time for a 0.02 release...
--Gisle