Help for this page

Select Code to Download


  1. or download this
    ## Main class
    package My::DBI;
    ...
                     content  ip   ] );
                    
    __PACKAGE__->table('entries');
    
  2. or download this
    Music::CD->add_constructor(new_music => 'year > ?');
        my @recent = Music::CD->new_music(2000);
    
  3. or download this
    my @cds = Music::CD->retrieve_from_sql(qq{
            artist = 'Ozzy Osbourne' AND
    ...
            ORDER BY year
            LIMIT 2,3
        });
    
  4. or download this
    my @music = Music::CD->search_where(
            artist => [ 'Ozzy', 'Kelly' ],
            status => { '!=', 'outdated' },
        );