Form::Toolkit::KVPairs::DBICRs - A DBIx::Class::ResultSet adapter.
my $set = Form::Toolkit::KVPairs::DBICRs->new({ rs => $a_dbic_resultset, key => 'the_id_column', value => 'the_value_column' });
Note that key defaults to 'id'
Then use as a Form::Toolkit::KVPairs.
Doesn't manage composed keys for now.
See superclass Form::Toolkit::KVPairs
See superclass JCON::KVPairs
To install Form::Toolkit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Form::Toolkit
CPAN shell
perl -MCPAN -e shell install Form::Toolkit
For more information on module installation, please visit the detailed CPAN module installation guide.