"Zbigniew Lukasiak" <[EMAIL PROTECTED]> writes: > On 5/24/07, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > >> I would also mention in the does, that an is_ip column doesn't have to >> be integer. It can also be a varchar/char containing: '1.2.3.4', or >> anything that IP->new supports...which appears to be a lot. >> > > And also perhaps worth being noted: in Pg there is support for IP > directly in the database: > http://www.postgresql.org/docs/8.2/interactive/datatype-net-types.html
As of version 0.02000 (uploaded yesterday) the module supports configurable storage formats, with the default being 'addr', i.e. dotted-quad.. Any NetAddr::IP method name that returns something the NetAddr::IP constructor supports can be used, e.g. 'cidr' if you want the mask length as well. -- ilmari "A disappointingly low fraction of the human race is, at any given time, on fire." - Stig Sandbeck Mathisen _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
