Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

( #183425=categorized answer: print w/ replies, xml ) Need Help??

Q&A > subroutines > prototyle mismatch error using LWP::Simple and CGI. contributed by rjimlad

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.

Comment on Answer: prototyle mismatch error using LWP::Simple and CGI.
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2015-03-04 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (127 votes), past polls