- or download this
# assuming $sth1 is a previously prepared statement handle
my $sth2 = $dbh->prepare( $sth1->{Statement} );
...
$sth2->bind_param($_, $PV->{$_} $PT->{$_})
for keys %{ %$PV, %$PT };
$sth2->execute();
- or download this
# assuming $sth1 is a previously prepared statement handle
my $sth2 = $dbh->prepare( $sth1->{Statement} );
...
$sth2->bind_param($_, $ParamValues->{$_} $ParamTypes->{$_})
for keys %{ %$ParamValues, %$ParamTypes };
$sth2->execute();
- or download this
use strict;
use Data::Dumper;
...
my $s2 = $h->prepare(q/insert into mje2 values(?)/);
$s2->bind_param($_, $ParamValues->{$_}, $ParamTypes->{$_})
for keys %{ %$ParamValues, %$ParamTypes };
- or download this
$VAR1 = {
'1' => 2
...
}
};
Can't use string ("1/8") as a HASH ref while "strict refs" in use at /
+tmp/z.pl line 18.