MaxMind::DB::Reader::XS - Fast XS implementation of MaxMind DB reader
version 0.060004
my $reader = MaxMind::DB::Reader->new( file => 'path/to/database.mmdb' ); my $record = $reader->record_for_address('1.2.3.4');
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.
Please report all issues with this code using the GitHub issue tracker at https://github.com/maxmind/MaxMind-DB-Reader-XS/issues.
Boris Zentner <bzentner@maxmind.com>
Dave Rolsky <drolsky@maxmind.com>
Ran Eilam <reilam@maxmind.com>
This software is Copyright (c) 2014 by MaxMind, Inc..
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install MaxMind::DB::Reader::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MaxMind::DB::Reader::XS
CPAN shell
perl -MCPAN -e shell install MaxMind::DB::Reader::XS
For more information on module installation, please visit the detailed CPAN module installation guide.