NAME
Class::DBI::Plugin::AsFdat - cdbi meets fillinform
SYNOPSIS
package Music::CD;
use base qw/Class::DBI/;
use Class::DBI::Plugin::AsFdat;
package main;
use HTML::FillInForm;
my $cd = Music::CD->retrieve_all->first;
my $fif = HTML::FillInForm->new;
$fif->fill(scalarref => \$html, fdat => $cd->as_fdat);
DESCRIPTION
Class::DBI::Plugin::AsFdat is easy to convert CDBI object to fdat. `fdat' is data for HTML::FillInForm.
METHODS
- as_fdat
-
transform cdbi row instance to hashref.
AUTHOR
MATSUNO Tokuhiro <tokuhiro at mobilefactory.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
THANKS TO
KIMURA, Takefumi