Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Learning/Trying to use Net::Curl with Cookie Jar

by Anonymous Monk
on Feb 22, 2018 at 14:47 UTC ( [id://1209752]=note: print w/replies, xml ) Need Help??


in reply to Learning/Trying to use Net::Curl with Cookie Jar

http://search.cpan.org/grep?cpanid=SYP&release=Net-Curl-0.39&string=Cook&i=1&n=1&C=0
t/03-cookies.t 10:eval { $easy->setopt(CURLOPT_COOKIEFILE, '') }; 11:ok((not $@), 'checking if libcurl was compiled with COOKIES feature +'); lib/Net/Curl/examples.pod 360: # share cookies between all handles 362: $share->setopt( CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE ); 647:This module shows how one can share http cookies and dns cache bet +ween multiple 713: # share both cookies and dns 714: $self->setopt( CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE ); 1065: $easy->setopt( CURLOPT_COOKIEFILE, '' );

Replies are listed 'Best First'.
Re^2: Learning/Trying to use Net::Curl with Cookie Jar
by YenForYang (Beadle) on Feb 22, 2018 at 16:53 UTC
    I thought CURLOPT_COOKIEFILE was read-only:
    This option only reads cookies. To make libcurl write cookies to file, see CURLOPT_COOKIEJAR.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-18 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found