Help for this page

Select Code to Download


  1. or download this
    my $dbh = $self->param('dbh') or carp "dbh is not behaving\n";
    ...
    $sth->execute() or carp "problems executing ...\n"
    
  2. or download this
    my $query = "SELECT id FROM table WHERE user = ?";
    my $results=$self->query($query, $user )->fetchrow_array;
    ...
        $sth->execute( $val );
        return $sth;
    }