Most likely, you will need to import CURLOPT_USERPWD from Net::Curl or Net::Curl::Easy. In fact, Curl::LWP has this line at its top:
use Net::Curl::Easy qw(:constants)
Maybe by adding that same line to your code you get the values for CURLOPT_USERPWD imported into your code as well.
In reply to Re^3: LWP::Curl and CURLOPT_USERPWD
by Corion
in thread LWP::Curl and CURLOPT_USERPWD
by wanderedinn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |