Collection::AutoSQLnotUnique - class for collections of data, stored in database.
use Collection::AutoSQL; my $metaobj = new Collection::AutoSQL:: dbh => $dbh, #database connect table => 'metadata', #table name field=> 'mid', #key field (IDs) cut_key =>1, #delete field mid from readed records, #or delete_key=>1 sub_ref => #callback for create objects for readed records sub { my $id = shift; new MyObject:: shift }
Provide simply access to records, with not unique key field.
Collection::AutoSQL, Collection, README
Zahatski Aliaksandr, <zag@cpan.org>
Copyright (C) 2005-2008 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Collection, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Collection
CPAN shell
perl -MCPAN -e shell install Collection
For more information on module installation, please visit the detailed CPAN module installation guide.