[Dbix-class] new module: DBIx::Class::InflateColumn::IP

Zbigniew Lukasiak zzbbyy at gmail.com
Fri May 25 12:15:50 GMT 2007


On 5/24/07, Christopher H. Laco <claco at chrislaco.com> 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

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/



More information about the Dbix-class mailing list