Mechanize isa LWP::UserAgent subclass, and that class provides a cookie_jar method that returns the associated HTTP::Cookies instance (or a subclass thereof). That (HTTP::Cookies) in turn provides a scan method which takes a callback that's passed information in turn for all the cookies in the jar.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: How can I view mechanize's current cookies?
by Fletch
in thread How can I view mechanize's current cookies?
by Alien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |