How do you create a cookie to use with LWP::UserAgent?
I'm curious, aren't cookies something created by the website you're visiting?
Also, googling shows other people have asked what the documentation means, and the module's creator replied by saying he didn't see how it could be made any clearer.
Do you have a link?
There is an example of generating a netscape cookie file in https://metacpan.org/source/GAAS/HTTP-Cookies-6.01/t/cookies.t, it also includes adding cookies to a cookie jar
I think what the author might be talking saying is check the RFC for the the meaning of those values
For example https://en.wikipedia.org/wiki/Http_cookie#Cookie_attributes
RFC 6265 - HTTP State Management Mechanism
Comment / CommentURL explained in RFC 2965 - HTTP State Management Mechanism
Or even https://metacpan.org/pod/CGI#HTTP-COOKIES
http://grep.cpan.me/?q=path_spec&page=2 -> https://metacpan.org/pod/HTTP::WebTest#path_spec-PATH_SPEC
That covers everything right?
In reply to Re^2: Cannot create a cookie using HTTP::Cookies
by Anonymous Monk
in thread Cannot create a cookie using HTTP::Cookies
by shagbark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |