Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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: (5)
As of 2014-12-25 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls