On Mon, Sep 13, 2004 at 09:11:03AM -0400, Brian Glass wrote:
> I tried using LWP::Simple in a Maypole model class method over the
> weekend and couldn't get it to work at all. Simply adding the "use
> LWP::Simple;" line broke it. I tried running LWP::Simple from a simple
> test script and it worked fine so I know it's there and working in my
> Perl install.
LWP::Simple exports a 'get' function that clobbers Class::DBI's get()
method.
> I even tried unexporting all of LWP::Simple's methods like so:
> use LWP::Simple qw(!get !header...);
just do:
use LWP::Simple ();
Tony
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT