Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libgeo-postcode-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libgeo-postcode-perl  ]

软件包: libgeo-postcode-perl (0.17+dfsg1-1)

UK Postcode validation and location

Geo::Postcode will accept full or partial UK postcodes, validate them against the official spec, separate them into their significant parts, translate them into map references or co-ordinates and calculate distances between them.

The last two features require a postcode database to be supplied separately.

It does not check whether the supplied postcode exists: only whether it is well-formed according to British Standard 7666, which you can find here:

http://www.govtalk.gov.uk/gdsc/html/frames/PostCode.htm

Geo::Postcode will also work with partial codes, ie areas, districts and sectors. They won't validate, but you can test them for legitimacy with a call to valid_fragment, and you can still turn them into grid references.

To work with US zipcodes, you need Geo::Postalcode instead.

其他与 libgeo-postcode-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libdbi-perl
    Perl Database Interface (DBI)
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libgeo-postcode-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 24.1 kB108 kB [文件列表]