|
|
| No such thing as a small change | |
| PerlMonks |
Re: Place holders in SQL queryby mje (Curate) |
| on Oct 10, 2014 at 15:03 UTC ( [id://1103427]=note: print w/replies, xml ) | Need Help?? |
|
Not saying it is best but you could do this. Change your map to be 'map {"state=?"} @$citydata'. Then pull the states out of @$citydata and into an array and pass this array to the exec_select().
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||