1MaxMind::DB::Reader::XSU(s3eprm)Contributed Perl DocumenMtaaxtMiionnd::DB::Reader::XS(3pm)
2
3
4
6 MaxMind::DB::Reader::XS - Fast XS implementation of MaxMind DB reader
7
9 version 1.000009
10
12 my $reader = MaxMind::DB::Reader->new( file => 'path/to/database.mmdb' );
13
14 my $record = $reader->record_for_address('1.2.3.4');
15
17 Simply installing this module causes MaxMind::DB::Reader to use the XS
18 implementation, which is much faster than the Perl implementation.
19
20 The XS implementation links against the libmaxminddb
21 <http://maxmind.github.io/libmaxminddb/> library.
22
23 See MaxMind::DB::Reader for API details.
24
26 This module uses semantic versioning as described by
27 <http://semver.org/>. Version numbers can be read as X.YYYZZZ, where X
28 is the major number, YYY is the minor number, and ZZZ is the patch
29 number.
30
32 If you're running into install errors under Mac OS X, you may need to
33 force a build of the 64 bit binary. For example, if you're installing
34 via "cpanm":
35
36 ARCHFLAGS="-arch x86_64" cpanm MaxMind::DB::Reader::XS
37
39 The version of libmaxminddb that is available by default with Ubuntu
40 may be too old for this level of MaxMind::DB::Reader::XS. However, we
41 do maintain a Launchpad PPA for all supported levels of Ubuntu.
42
43 https://launchpad.net/~maxmind/+archive/ubuntu/ppa
44
45 Please visit the PPA page for more information, or, to configure your
46 system, run as root:
47
48 # apt-add-repository ppa:maxmind/ppa
49 # apt-get update
50
51 The PPA is now configured, and you may install (or upgrade) the
52 libmaxminddb library via the usual apt commands.
53
55 This module is deprecated and will only receive fixes for major bugs
56 and security vulnerabilities. New features and functionality will not
57 be added.
58
59 Please report all issues with this code using the GitHub issue tracker
60 at <https://github.com/maxmind/MaxMind-DB-Reader-XS/issues>.
61
62 Bugs may be submitted through
63 <https://github.com/maxmind/MaxMind-DB-Reader-XS/issues>.
64
66 • Boris Zentner <bzentner@maxmind.com>
67
68 • Dave Rolsky <drolsky@maxmind.com>
69
70 • Ran Eilam <reilam@maxmind.com>
71
73 • Andy Jack <github@veracity.ca>
74
75 • Chris Weyl <cweyl@alumni.drew.edu>
76
77 • Florian Ragwitz <fragwitz@maxmind.com>
78
79 • Greg Oschwald <goschwald@maxmind.com>
80
81 • Hidenori Sugiyama <madogiwa@gmail.com>
82
83 • Mark Fowler <mark@twoshortplanks.com>
84
85 • Nick Logan <nlogan@maxmind.com>
86
87 • Olaf Alders <oalders@maxmind.com>
88
90 This software is Copyright (c) 2013 - 2022 by MaxMind, Inc.
91
92 This is free software, licensed under:
93
94 The Artistic License 2.0 (GPL Compatible)
95
96
97
98perl v5.38.0 2023-07-20 MaxMind::DB::Reader::XS(3pm)