|
An Introduction to Class::DBI - First Example
|
20
|
|
|
Scalability - Class::DBI
With Class::DBI, the setup is already done:
my ($film) = $nomination->search(
year => 1965,
type => 'Best Editing',
takes_the_oscar => 1,
);
Plus, if you have set up your relationships with your other tables, you can do all sorts of things
my $title = $film->title;
my $trailer = $film->trailer;
MPEG::Video::play($trailer->data);
continued...
|
|