in reply to Place holders in SQL query
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().
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Place holders in SQL query
by Anonymous Monk on Oct 10, 2014 at 15:14 UTC | |
by mje (Curate) on Oct 10, 2014 at 15:41 UTC | |
by Anonymous Monk on Oct 10, 2014 at 17:43 UTC |
In Section
Seekers of Perl Wisdom