On Sep 27, 11:59 am, [EMAIL PROTECTED] (Pat Rice) wrote: > Hi all > Error 500 error is the follwoing > > [Thu Sep 27 16:26:56 2007] [error] [client 10.16.153.99] Prototype mismatch: > sub main::head: none vs ($) at /var/www/cgi-bin/srHandler4.cgi line 7 > [Thu Sep 27 16:26:57 2007] [error] [client 10.16.153.99] [Thu Sep 27 > 16:26:57 2007] srHandler4.cgi: Error 500 > onhttp://pseweb.vmware.com/pending/194951021 > a > t /var/www/cgi-bin/srHandler4.cgi line 25. > > The problem is with line 7 and 25 > > line 7 -- shown below is prety simple > 5 #### adding the bits from teat.pl > 6 use warnings; > 7 use LWP::Simple; > > Line 25 -- shown below, is just a simple getstore, this works when run from > the command line, but when run form the webserver, I get above error > message, I've tried the usual 500 error messages, just wondering if anyone > has any ideas ???
Always read the documentation for the modules you're using. http://search.cpan.org/~gaas/libwww-perl-5.808/lib/LWP/Simple.pm#CAVEAT Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/