Help for this page

Select Code to Download


  1. or download this
    # return an object representing the "remote" object, ie the
    # one in the object store
    ...
    # set the first one's balance to 10000
    $obj[0]->{balance} = 10000;
    $db->store($obj[0]);
    
  2. or download this
        croak "DBI::Pretty requires a valid DBI object"
          unless $dbi;
    
  3. or download this
        croak "DBI::Pretty requires a valid DBI object"
          unless (ref $dbi and $dbi->isa("DBI"));
    
  4. or download this
    sub new($$;$) {
        my ($class, $dbi, $hash) = (@_);
        croak "DBI::Pretty requires a valid DBI object"
          unless $dbi;
        $hash ||= {};
    
  5. or download this
    sub new {
        my $class = shift;
        my $dbi = shift;
        croak "DBI::Pretty requires a valid DBI object"
          unless $dbi;
        my $hash = shift || {};