in reply to LWP::Simple? Prototype mismatch?
This happens because both LWP::Simple and CGI are exporting a sub called head. You aren't using LWP::Simple::head so to prevent it from being imported you can replace
withuse LWP::Simple;
use LWP::Simple qw/get/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: LWP::Simple? Prototype mismatch?
by Fletch (Bishop) on May 16, 2005 at 13:47 UTC | |
Re^2: LWP::Simple? Prototype mismatch?
by George_Sherston (Vicar) on May 16, 2005 at 13:53 UTC |
In Section
Seekers of Perl Wisdom