/usr/share/doc/libregexp-common-net-cidr-perl/README is in libregexp-common-net-cidr-perl 0.02-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | NAME
Regexp::Common::net::CIDR -- provide patterns for CIDR blocks.
SYNOPSIS
use Regexp::Common ();
use Regexp::Common::net::CIDR ();
while (<>) {
/$RE{net}{CIDR}{IPv4}/ and print "Contains a CIDR.\n";
}
DESCRIPTION
Patterns for CIDR blocks. Now only next IPv4 formats are supported:
xxx.xxx/xx
xxx.xxx.xxx/xx
xxx.xxx.xxx.xxx/xx
With {-keep} stores address in $1 and number of bits in $2.
INSTALLATION
perl Makefile.PL
make
make install
CAVEATS
As Regexp::Common doesn't work well with extensions named
"Regexp::Common::xxx::yyy" you have to load this extension yourself with
"use" or "require".
AUTHOR
Ruslan U. Zakirov <ruz@bestpractical.com>
|