Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: www::curl::easy = no url set error... Help please!

by hipowls (Curate)
on Feb 24, 2008 at 00:37 UTC ( [id://669798]=note: print w/replies, xml ) Need Help??


in reply to www::curl::easy = no url set error... Help please!

The use statement should be

use WWW:Curl::Easy;
as it makes the constant CURLOPT_URL available.

If you had use strict; in your program it would have pointed out the error

Bareword "CURLOPT_URL" not allowed while "strict subs" in use at Perl- +2.pl line 13. Execution of Perl-2.pl aborted due to compilation errors.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://669798]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found