Subject: | Provide method for accessing single cookie value |
If I want to copy the PHPSESSID value from the cookie for site
example.com I either have to call scan() or directly access the cookie
internals like $cookie_jar->{COOKIES}{'example.com'}{'/'}{PHPSESSID} and
then access the 2nd element in the array reference. Please consider
adding a convenience method to allow easier access to cookie values.
I would like to be able to do $cookie_jar->get_cookie('example.com',
'PHPSESSID');