Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

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

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

Both CGI and LWP::Simple export a 'head' function. If you aren't using LWP::Simple's head() function, only import what you want: use LWP::Simple 'get';
Otherwise:
use CGI ':standard'; use LWP::Simple (); ... print LWP::Simple::head(...);

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 drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2016-08-25 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (353 votes). Check out past polls.