in reply to DBI variable argument count
Update: Corrected declaration of my @var_argsmy $sth = $dbh->prepare( $sql ); my @var_args = ($bar); # if at least one arg if (Some-condition){ push @var_args, $baz; # others, as needed } $sth->execute( @var_args );
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI variable argument count
by anothersmurf (Novice) on Sep 13, 2012 at 22:41 UTC |