Help for this page

Select Code to Download


  1. or download this
    my $dbh = My::DB->new({server => 'foo', db => 'oops.db'})
    
  2. or download this
    if ($data->{server} eq 'pg') {
       ...
    ...
    } else {
      Carp::croak "Oops, you tried to access a '$data->{server}' type data
    +base, but I have no idea what that is";
    }