Kyberdigi Projects Browscap | ||||||
About Installation Download Demo Bugs Changelog | ||||||
Follow these few steps as the system superuser. Running the test is optional:
# tar xzf HTTP-Browscap-x.y.tar.gz
# cd HTTP-Browscap-x.y # perl Makefile.PL # make # make test # make install The package manpage contains all important informatoin about how to use it, so please refer to that page. Of course, HTML version is available.
Your user agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Example script source:
#!/usr/bin/perl -w
use strict;
# initialize browscap.ini database
# get agent identification string print "Your user agent: $agent\n\n";
# get agent information from database
# print agent information
# do not print ugly internal variables
# print variables
There are no known bugs at this moment. If you knouw about any,
please let me know at
mccohy@kyberdigi.cz.
2004-04-05 Josh Rosenbaum reported about bad handling of regular expression in browser name. If there were some '+' characters in browser name in browscap.ini file, the running program could have died with some Perl syntax error or any similar error. This bug has been (probably) fixed in version 1.1. Please note, that there is a possibility that this bug will appear in next versions, because I simple cannot know before, which bad characters or sets of characters will appear in future versions of browscap.ini.
2004-04-05
Version 1.1
2003-04-25 Initial release 1.0
|