Debian Codegraph @

README

raw
1 NAME
2 Regexp::Common::net::CIDR -- provide patterns for CDIR blocks.
3
4 SYNOPSIS
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
12 DESCRIPTION
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
21 INSTALLATION
22 perl Makefile.PL
23 make
24 make install
25
26 CAVEATS
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
31 AUTHOR
32 Ruslan U. Zakirov <[email protected]>
33