Max Mind DB Writer只读发布历史
MaxMind::DB::Writer是用于创建MaxMind DB数据库文件的工具。以下是其基本功能和使用示例:
use MaxMind::DB::Writer::Tree;
use Net::Works::Network;
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'],
);
该工具通过MaxMind::DB::Writer::Tree
创建一个新的数据库树,并支持多种数据类型定义。你可以根据需要调整ip_version
(IP版本)、record_size
(记录大小)和database_type
(数据库类型)等参数。
下载地址
用户评论