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
In reply to Re: DBI variable argument count
by NetWallah
in thread DBI variable argument count
by anothersmurf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |