in reply to How can I view mechanize's current cookies?
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.
|
|---|