in reply to Re: Re: Crontab error!
in thread Crontab error!
Both LWP::Simple and CGI try to export a function called head and they have different prototypes. This can lead to badness - as you've seen.
However, you don't actually use either of these subroutines, so you just need to stop importing them (or, at least, one of them). Quickest fix is to change the use LWP::Simple line to:
--use LWP::Simple 'get';
<http://www.dave.org.uk>
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In Section
Seekers of Perl Wisdom