The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

HTTP::Cookies::Guess is split/rewrite module by Yappo from Plagger::Cookies 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

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