Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Create MaxMind DB database files

License

NotificationsYou must be signed in to change notification settings

maxmind/MaxMind-DB-Writer-perl

Repository files navigation

MaxMind::DB::Writer - DEPRECATED Create MaxMind DB database files

VERSION

version 0.300004

SYNOPSIS

use MaxMind::DB::Writer::Tree;my %types = (    color => 'utf8_string',    dogs  => [ 'array', 'utf8_string' ],    size  => 'uint16',);my $tree = MaxMind::DB::Writer::Tree->new(    ip_version            => 6,    record_size           => 24,    database_type         => 'My-IP-Data',    languages             => ['en'],    description           => { en => 'My database of IP data' },    map_key_type_callback => sub { $types{ $_[0] } },);$tree->insert_network(    '8.8.8.0/24',    {        color => 'blue',        dogs  => [ 'Fido', 'Ms. Pretty Paws' ],        size  => 42,    },);open my $fh, '>:raw', '/path/to/my-ip-data.mmdb';$tree->write_tree($fh);

DESCRIPTION

This distribution contains the code necessary to writeMaxMind DB databasefiles. SeeMaxMind::DB::Writer::Treefor API docs.

DEPRECATED

This code is no longer maintained. We recommend using the Gommdbwriter package to writeMMDB files.

MAC OS X SUPPORT

If you're running into install errors under Mac OS X, you may need to force abuild of the 64 bit binary. For example, if you're installing viacpanm:

ARCHFLAGS="-arch x86_64" cpanm MaxMind::DB::Writer

WINDOWS SUPPORT

This distribution does not currently work on Windows. Reasonable patches forWindows support are very welcome. You will probably need to start by makingMath::Int128 work on Windows, since we use that module's C API for dealingwith 128-bit integers to represent IPv6 addresses numerically.

SUPPORT

Please report all issues with this code using the GitHub issue tracker athttps://github.com/maxmind/MaxMind-DB-Writer-perl/issues.

We welcome patches as pull requests against our GitHub repository athttps://github.com/maxmind/MaxMind-DB-Writer-perl.

Bugs may be submitted throughhttps://github.com/maxmind/MaxMind-DB-Writer-perl/issues.

AUTHORS

CONTRIBUTORS

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by MaxMind, Inc.

This is free software; you can redistribute it and/or modify it underthe same terms as the Perl 5 programming language system itself.

About

Create MaxMind DB database files

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors14


[8]ページ先頭

©2009-2025 Movatter.jp