NAME
Egg::Plugin::HTTP::BrowserDetect - Plugin for HTTP::BrowserDetect.
SYNOPSIS
use Egg qw/ HTTP::BrowserDetect /;
if ($e->browser->windows) {
# OS is Windows.
} elsif ($e->browser->mac) {
# OS is Macintosh.
} elsif ($e->browser->unix) {
# OS is Unix.
} else {
# Other OS.
}
DESCRIPTION
It is a plug-in to obtain browser information on connected client.
see HTTP::BrowserDetect.
METHODS
browser ([USER_AGENT])
The object of HTTP::BrowserDetect is returned.
There is usually no [USER_AGENT] needing. HTTP::BrowserDetect acquires it from the environment variable.
SEE ALSO
HTTP::BrowserDetect, Egg::Release,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT
Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.