I've never used libcurl before, but I wanted to start using it in curl for improved HTTP performance. I've been looking through all the Net::Curl::Easy:: keys, browsing the contents and comparing with curl.haxx.se and noticed that Net::Curl doesn't have a curl_easy_cleanup function.
I'm asking this because on the manual page for CURLOPT_COOKIEJAR, it says
...will make libcurl write all internally known cookies to the specified file when curl_easy_cleanup is called.
So...How does one store cookies in a cookie jar (file) by specifying CURLOPT_COOKIEJAR?
EDIT: To give an idea of what I'm trying to do for now (this case): I'm making a simple GET request pretty much equivalent to this: curl -qsL -b cookies.txt -c cookies.txt <URL> and parse the html response content (html of URL).
In reply to Learning/Trying to use Net::Curl with Cookie Jar by YenForYang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |