[Rt-commit] r6058 - in Regexp-Common-net-CIDR: lib/Regexp/Common/net

ruz at bestpractical.com ruz at bestpractical.com
Wed Sep 27 12:46:55 EDT 2006


Author: ruz
Date: Wed Sep 27 12:46:54 2006
New Revision: 6058

Added:
   Regexp-Common-net-CIDR/README
Modified:
   Regexp-Common-net-CIDR/MANIFEST
   Regexp-Common-net-CIDR/lib/Regexp/Common/net/CIDR.pm

Log:
* README generated from POD
* docs
* pod fix

Modified: Regexp-Common-net-CIDR/MANIFEST
==============================================================================
--- Regexp-Common-net-CIDR/MANIFEST	(original)
+++ Regexp-Common-net-CIDR/MANIFEST	Wed Sep 27 12:46:54 2006
@@ -13,3 +13,4 @@
 Makefile.PL
 MANIFEST			This list of files
 META.yml
+README

Added: Regexp-Common-net-CIDR/README
==============================================================================
--- (empty file)
+++ Regexp-Common-net-CIDR/README	Wed Sep 27 12:46:54 2006
@@ -0,0 +1,33 @@
+NAME
+    Regexp::Common::net::CIDR -- provide patterns for CDIR 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 at bestpractical.com>
+

Modified: Regexp-Common-net-CIDR/lib/Regexp/Common/net/CIDR.pm
==============================================================================
--- Regexp-Common-net-CIDR/lib/Regexp/Common/net/CIDR.pm	(original)
+++ Regexp-Common-net-CIDR/lib/Regexp/Common/net/CIDR.pm	Wed Sep 27 12:46:54 2006
@@ -39,13 +39,19 @@
 
 With {-keep} stores address in $1 and number of bits in $2.
 
+=head1 INSTALLATION
+
+  perl Makefile.PL
+  make
+  make install
+
 =head1 CAVEATS
 
 As L<Regexp::Common> doesn't work well with extensions
 named C<Regexp::Common::xxx::yyy> you have to load this extension
 yourself with C<use> or C<require>.
 
-=head AUTHOR
+=head1 AUTHOR
 
 Ruslan U. Zakirov <ruz at bestpractical.com>
 


More information about the Rt-commit mailing list