[Bast-commits] r3503 - trunk/DBIx-Class-InflateColumn-IP

ilmari at dev.catalyst.perl.org ilmari at dev.catalyst.perl.org
Sun Jun 17 20:48:05 GMT 2007


Author: ilmari
Date: 2007-06-17 20:48:04 +0100 (Sun, 17 Jun 2007)
New Revision: 3503

Removed:
   trunk/DBIx-Class-InflateColumn-IP/README
Modified:
   trunk/DBIx-Class-InflateColumn-IP/Makefile.PL
Log:
Remove autogenerated README file

Modified: trunk/DBIx-Class-InflateColumn-IP/Makefile.PL
===================================================================
--- trunk/DBIx-Class-InflateColumn-IP/Makefile.PL	2007-06-17 19:27:08 UTC (rev 3502)
+++ trunk/DBIx-Class-InflateColumn-IP/Makefile.PL	2007-06-17 19:48:04 UTC (rev 3503)
@@ -11,7 +11,7 @@
 requires 'NetAddr::IP';
 
 tests 't/*.t';
-clean_files 'DBIx-Class-InflateColumn-IP-* t/var';
+clean_files 'DBIx-Class-InflateColumn-IP-* t/var README';
 
 eval {
     system 'pod2text lib/DBIx/Class/InflateColumn/IP.pm > README';

Deleted: trunk/DBIx-Class-InflateColumn-IP/README
===================================================================
--- trunk/DBIx-Class-InflateColumn-IP/README	2007-06-17 19:27:08 UTC (rev 3502)
+++ trunk/DBIx-Class-InflateColumn-IP/README	2007-06-17 19:48:04 UTC (rev 3503)
@@ -1,96 +0,0 @@
-NAME
-    DBIx::Class::InflateColumn::IP - Auto-create NetAddr::IP objects from
-    columns.
-
-SYNOPSIS
-    Load this component and declare columns as IP addresses with the
-    appropriate format.
-
-        package Host;
-        __PACKAGE__->load_components(qw/InflateColumn::IP Core/);
-        __PACKAGE__->add_columns(
-            ip_address => {
-                data_type => 'integer',
-                is_nullable => 0,
-                is_ip => 1,
-                ip_format => 'numeric',
-            }
-        );
-
-        package Network;
-        __PACKAGE__->load_components(qw/InflateColumn::IP Core/);
-        __PACKAGE__->add_columns(
-            address => {
-                data_type => 'varchar',
-                size        => 18
-                is_nullable => 0,
-                is_ip => 1,
-                ip_format => 'cidr',
-            }
-        );
-
-    Then you can treat the specified column as a NetAddr::IP object.
-
-        print 'IP address: ', $host->ip_address->addr;
-        print 'Address type: ', $host->ip_address->iptype;
-
-METHODS
-  ip_class
-    Arguments: $class
-
-    Gets/sets the address class that the columns should be inflated into.
-    The default class is NetAddr::IP.
-
-  ip_format
-    Arguments: $format
-
-    Gets/sets the name of the method used to deflate the address for the
-    database. This must return a value suitable for "$ip_class-"new(); The
-    default format is "addr", which returns the address in dotted-quad
-    notation. See "Methods" in NetAddr::IP for suitable values.
-
-  register_column
-    Chains with "register_column" in DBIx::Class::Row, and sets up IP
-    address columns appropriately. This would not normally be called
-    directly by end users.
-
-AUTHOR
-    Dagfinn Ilmari Mannsåker, "<ilmari at ilmari.org>"
-
-BUGS
-    Please report any bugs or feature requests to
-    "bug-dbix-class-inflatecolumn-ip at rt.cpan.org", or through the web
-    interface at
-    <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DBIx-Class-InflateColumn
-    -IP>. I will be notified, and then you'll automatically be notified of
-    progress on your bug as I make changes.
-
-SUPPORT
-    You can find documentation for this module with the perldoc command.
-
-        perldoc DBIx::Class::InflateColumn::IP
-
-    You can also look for information at:
-
-    * AnnoCPAN: Annotated CPAN documentation
-        <http://annocpan.org/dist/DBIx-Class-InflateColumn-IP>
-
-    * CPAN Ratings
-        <http://cpanratings.perl.org/d/DBIx-Class-InflateColumn-IP>
-
-    * RT: CPAN's request tracker
-        <http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBIx-Class-InflateColumn-I
-        P>
-
-    * Search CPAN
-        <http://search.cpan.org/dist/DBIx-Class-InflateColumn-IP>
-
-SEE ALSO
-    DBIx::Class, NetAddr::IP
-
-COPYRIGHT & LICENSE
-    Copyright 2007 Dagfinn Ilmari Mannsåker, all rights reserved.
-
-    This program is free software; you can redistribute it and/or modify it
-    under the same terms as Perl itself.
-




More information about the Bast-commits mailing list