HTTP::Cookies::Guess - Guesses UserAgent from file name.
use HTTP::Cookies::Guess; $cookie_jar = HTTP::Cookies::Guess->create('/home/user/.w3m/cookie'); $cookie_jar = HTTP::Cookies::Guess->create(file => '/home/user/.w3m/cookie'); $cookie_jar = HTTP::Cookies::Guess->create(file => '/home/user/.w3m/cookie'i, type => 'w3m'); $cookie_jar = HTTP::Cookies::Guess->create(file => '/home/user/cookies.txt'); # mozilla
HTTP::Cookies::Guess is a factory class to create HTTP::Cookies subclass instances by detecting the proper subclass using its filename (and possibly magic, if the filename format is share amongst multiple subclasses, eventually).
HTTP::Cookies::Guess is split/rewrite module by Yappo from Plagger::Cookies module by miyagawa.
Tatsuhiko Miyagawa, Kazuhiro Osawa <ko@yappo.ne.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
HTTP::Cookies, Plagger::Cookies, HTTP::Cookies::Mozilla, HTTP::Cookies::Microsoft, HTTP::Cookies::Netscape HTTP::Cookies::Safari, HTTP::Cookies::w3m, HTTP::Cookies::Omniweb, HTTP::Cookies::iCab
To install HTTP::Cookies::Guess, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Cookies::Guess
CPAN shell
perl -MCPAN -e shell install HTTP::Cookies::Guess
For more information on module installation, please visit the detailed CPAN module installation guide.