Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

by rjimlad (Acolyte)
on Jul 19, 2002 at 20:01 UTC ( #183425=categorized answer: print w/replies, xml ) Need Help??

Q&A > subroutines > prototyle mismatch error using LWP::Simple and CGI. - Answer 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.

Log In?

What's my password?
Create A New User
[Discipulus]: ok.. where to look to serve a webpage composed by parts that fill themseves indipendently over time? no auto updates, just different times like (for a domain name) ip resolution, whois infos, lwp check ..

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-11-23 08:42 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (332 votes). Check out past polls.