| Ron Savage 2004-03-26, 11:12 pm |
| The pure Perl module Class::DBI::Schema2Code V 1.00
is available immediately from CPAN,
and from http://savage.net.au/Perl-modules.html.
On-line docs, and a *.ppd for ActivePerl are also
available from the latter site.
An extract from the docs:
NAME
Class::DBI::Schema2Code - Convert db schema to modules which use Class::DBI
Recent changes:
1.00 Thu Mar 18 10:23:29 2004
- Original version
- See examples/parent-module.tmpl and generic-module.tmpl for sample templates
used to generate Perl source code
- See examples/bootstrap.pl for code which loads 3 text files into 3 database
tables
- See examples/generator.pl for code which generates Local::Project::* modules for
the 3 tables
- See examples/reporter.pl for code which exercises the Local::Project::* modules
- See examples/address-print.pl and campus-print.pl for subs which can be plugged
into the generated modules Local::Project::Address.pm and Campus.pm to enhance
the output of reporter.pl
- See examples/reporter.log for my output after having plugged in those 2 subs.
Your output should be identical, apart from OS-dependent line terminators.
--
Cheers
Ron Savage, ron@savage.net.au on 20/03/2004
http://savage.net.au/index.html
|