note
kudra
Tables will be accessed as MyCompany::MyProduct::Database::Tablename.
<p>
What I have shown above is the entire module. I removed all other code to give as clear of an example as possible.
<p>
Here is the code that tries to use it:
<code>
#!/usr/local/bin/perl
use strict;
use warnings;
use lib '/myproject/lib';
use MyCompany::MyProduct::Database;
use Data::Dumper;
my $person =
MyCompany::MyProduct::Database::Person->retrieve(7);
print Dumper $person;
</code>
446896
446914