- VERSIONING POLICY
- MAC OS X SUPPORT
- UBUNTU SUPPORT
- COPYRIGHT AND LICENSE
MaxMind::DB::Reader::XS - Fast XS implementation of MaxMind DB reader
my $reader = MaxMind::DB::Reader->new( file => 'path/to/database.mmdb' ); my $record = $reader->record_for_address('220.127.116.11');
Simply installing this module causes MaxMind::DB::Reader to use the XS implementation, which is much faster than the Perl implementation.
The XS implementation links against the libmaxminddb library.
See MaxMind::DB::Reader for API details.
This module uses semantic versioning as described by http://semver.org/. Version numbers can be read as X.YYYZZZ, where X is the major number, YYY is the minor number, and ZZZ is the patch number.
If you're running into install errors under Mac OS X, you may need to force a build of the 64 bit binary. For example, if you're installing via
ARCHFLAGS="-arch x86_64" cpanm MaxMind::DB::Reader::XS
The version of libmaxminddb that is available by default with Ubuntu may be too old for this level of MaxMind::DB::Reader::XS. However, we do maintain a Launchpad PPA for all supported levels of Ubuntu.
Please visit the PPA page for more information, or, to configure your system, run as root:
# apt-add-repository ppa:maxmind/ppa # apt-get update
The PPA is now configured, and you may install (or upgrade) the libmaxminddb library via the usual apt commands.
Please report all issues with this code using the GitHub issue tracker at https://github.com/maxmind/MaxMind-DB-Reader-XS/issues.
Bugs may be submitted through https://github.com/maxmind/MaxMind-DB-Reader-XS/issues.
Boris Zentner <firstname.lastname@example.org>
Dave Rolsky <email@example.com>
Ran Eilam <firstname.lastname@example.org>
Andy Jack <email@example.com>
Chris Weyl <firstname.lastname@example.org>
Florian Ragwitz <email@example.com>
Greg Oschwald <firstname.lastname@example.org>
Hidenori Sugiyama <email@example.com>
Olaf Alders <firstname.lastname@example.org>
This software is Copyright (c) 2013 - 2018 by MaxMind, Inc.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)