Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: prototyle mismatch error using LWP::Simple and CGI.

by rjimlad (Acolyte)
on Jul 19, 2002 at 20:01 UTC ( [id://183425]=note: print w/replies, xml ) Need Help??


in reply to prototyle mismatch error using LWP::Simple and CGI.

Yes, the full error message is more-or-less self-explanatory. Personally, I'd just use CGI in OO mode, eg:
use CGI; use LWP::Simple; my $cgi=new CGI; # LWP's head() print head(); # CGI's head print $cgi->head();
...and of course you can use 'require CGI' instead of 'use CGI', which could have potential benefits.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://183425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found