Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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. 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(...);

Comment on Answer: prototyle mismatch error using LWP::Simple and CGI.
Select or 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 musing on the Monastery: (4)
As of 2015-05-04 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (80 votes), past polls