HTTP::Cookies::Guess - Guesses UserAgent from file name.


NAME

HTTP::Cookies::Guess - Guesses UserAgent from file name.


SYNOPSIS

  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


DESCRIPTION

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).

the HTTP::Cookies::Guess manpage is split/rewrite module by Yappo from the Plagger::Cookies manpage module by miyagawa.


AUTHOR

Tatsuhiko Miyagawa, Kazuhiro Osawa <ko@yappo.ne.jp>


LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


SEE ALSO

the HTTP::Cookies manpage, the Plagger::Cookies manpage, the HTTP::Cookies::Mozilla manpage, the HTTP::Cookies::Microsoft manpage, the HTTP::Cookies::Netscape manpage the HTTP::Cookies::Safari manpage, the HTTP::Cookies::w3m manpage, the HTTP::Cookies::Omniweb manpage, the HTTP::Cookies::iCab manpage