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.
I'm using CGI::Maypole so the only error messages I get are a server
configuration error and in the log is "premature end of script headers."
I even tried unexporting all of LWP::Simple's methods like so:
use LWP::Simple qw(!get !header...);
I was able to use LWP::UserAgent just fine. I'll probably just keep
using LWP::UserAgent so it's not a big issue for me, but I thought
someone should know.
Any ideas?
_______________________________________________
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