Subject: | LWP::UserAgent clone -- proxy copy problem |
I'm using perl 5.6.0 on Redhat Linux 7.1 (i386)
There's a pretty simple bug in the clone method of LWP::UserAgent, it makes a 'reference' copy of the "proxy" value of self, which breaks if one hasn't set a proxy (the default state of this value is 'undef').. A simple test to ensure that 'proxy' is defined may be sufficient.