Re: Proxying in LWP .01

Martijn Koster (m.koster@nexor.co.uk)
Tue, 18 Jul 1995 22:36:16 +0100


In message <199507182131.XAA07496@bergen.oslonett.no>, Gisle Aas writes:

> Did you notice this?
> 
> sub clone
> {
>     my $self = shift;
> 
>     # this works because no values of %$self are references.
>     bless { %$self }, ref $self;
> }

Yes, and though "hmmm :-/" and then completely forgot about it :-)
 
> If you clone an UserAgent they will now share the 'noProxy' array!!
> There should have been some general cloning routine that traverses
> structures.

Yeah, bummer. Are you going to write one?

> Thanks for the patch anyway!
> 
> With this speed of patches flying around there should soon be time for a 0.02
> release...

Good to see progress...

-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
WWW: http://web.nexor.co.uk/mak/mak.html