Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: DBI execute() args in array format (or similar) possible?by screamingeagle (Curate) |
on Aug 12, 2002 at 19:49 UTC ( [id://189606]=note: print w/replies, xml ) | Need Help?? |
In your specific case,
instead of using placeholders, you could try building the SQL SELECT stmt based on the number of arguments present. For example,
The "1=1" part enables you to add a dynamic number of "And " clauses without any problems... hth
In Section
Seekers of Perl Wisdom
|
|