[Dbix-class] New module: DBIx::Class::InflateColumn::ISBN

Christopher H. Laco claco at chrislaco.com
Fri May 25 16:05:43 GMT 2007


K. J. Cheetham wrote:
> Following in Ilmari's footsteps I have created
> DBIx::Class::InflateColumn::ISBN which inflates/deflates to a
> Business::ISBN object.
> =

> You can find it in the SVN repo at
> http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-InflateColumn-IS=
BN/
> and if it's not horribly broken I intend to release it to CPAN in it's
> current state as version 0.01.
> =

> Hopefully it'll become useful to someone. ;-)
> =

> Best wishes
> =


I'd also do a is_valid_checksum when inflating, and throw and exception
if it fails...but that's just me. Maybe that's overkill.

-=3DChris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070525/09=
449f49/signature.pgp


More information about the Dbix-class mailing list