Go to file
denghao 6cd3c9f4be Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
lib/Array Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
t Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
Changes Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
LICENSE Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
MANIFEST Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
META.json Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
META.yml Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
Makefile.PL Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
README Import Upstream version 2.004 2022-09-02 08:44:07 +03:00
dist.ini Import Upstream version 2.004 2022-09-02 08:44:07 +03:00

README

This distribution provides a set of modules:

Array::IntSpan - a Module for handling arrays using integer ranges
Array::IntSpan::Fields -  IntSpan array using integer fields as indices
Array::IntSpan::IP - a Module for arrays using IP addresses as indices


Array::IntSpan brings the speed advantages of Set::IntSpan (written by
Steven McDougall) to arrays.  Uses include manipulating grades,
routing tables, or any other situation where you have mutually
exclusive ranges of integers that map to given values (or objects) The
new version of Array::IntSpan is able to consolidate ranges by
comparing adjacent values.

Array::IntSpan::Fields brings the advantages of Array::IntSpan to
indices made of integer fields like an IP address and an ANSI SS7
point code.

Array::IntSpan::IP brings the advantages of Array::IntSpan to IP
address indices.  Anywhere you use an index in Array::IntSpan, you can
use an IP address in one of three forms in Array::IntSpan::IP.

Version 2.001 was heavily modified from version 1.01. The module was
heavily tested but you should test your application with v2.001 before
any important use.


---------------------------------------------------------------------
INSTALLATION from CPAN

   	 gunzip -c <dist_file>.tar.gz | tar xvf -
   	 cd <dist_directory>
   	 perl Makefile.PL
   	 make test          
   	 make install

INSTALLATION from git requires Dist::Zilla

You must make sure that the following modules are installed:
Dist::Zilla::Plugin::MetaResources
Dist::Zilla::Plugin::Prepender
Dist::Zilla::Plugin::Prereqs
Dist::Zilla::PluginBundle::Filter

On debian or ubuntu, do:

sudo aptitude install \
     libdist-zilla-plugin-prepender-perl \
     libdist-zilla-plugins-cjm-perl \
     libdist-zilla-perl


Then run:

dzil build 

or 

dzil test
dzil build