• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/Module/H03-Jun-2015-3,1352,352

lib/Regexp/Common/net/H03-Jun-2015-6010

MANIFESTH A D03-Jun-2015402 1716

META.ymlH A D03-Jun-2015460 2322

Makefile.PLH A D03-Jun-2015213 1210

READMEH A D03-Jun-2015762 3424

README

1NAME
2    Regexp::Common::net::CIDR -- provide patterns for CDIR blocks.
3
4SYNOPSIS
5        use Regexp::Common ();
6        use Regexp::Common::net::CIDR ();
7
8        while (<>) {
9            /$RE{net}{CIDR}{IPv4}/ and print "Contains a CIDR.\n";
10        }
11
12DESCRIPTION
13    Patterns for CIDR blocks. Now only next IPv4 formats are supported:
14
15      xxx.xxx/xx
16      xxx.xxx.xxx/xx
17      xxx.xxx.xxx.xxx/xx
18
19    With {-keep} stores address in $1 and number of bits in $2.
20
21INSTALLATION
22      perl Makefile.PL
23      make
24      make install
25
26CAVEATS
27    As Regexp::Common doesn't work well with extensions named
28    "Regexp::Common::xxx::yyy" you have to load this extension yourself with
29    "use" or "require".
30
31AUTHOR
32    Ruslan U. Zakirov <ruz@bestpractical.com>
33
34