Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 surveying the Monastery: (13)
As of 2014-07-24 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (159 votes), past polls