Perl Monk, Perl Meditation | |
PerlMonks |
Re: Values concatenation for SQL queryby LanX (Saint) |
on Mar 10, 2015 at 12:11 UTC ( [id://1119474]=note: print w/replies, xml ) | Need Help?? |
you most probably want to pass an array @values with 3 arguments or 3 separated $scalars, and not one concatenated string.
editwhat's wrong with...$sth->execute( "${middle}%" , $last, $first ); ?
In Section
Seekers of Perl Wisdom
|
|