![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Join questionby Dandello (Monk) |
on May 02, 2012 at 22:04 UTC ( #968564=perlquestion: print w/replies, xml ) | Need Help?? |
Dandello has asked for the wisdom of the Perl Monks concerning the following question: I've been working with someone else's code and came across this to generate a mySQL command: mysql_process( 0, 'do', qq~DELETE FROM `$db_table{$DBfile}[0]` WHERE `$db_table{$DBfile}[1]`="~ . join( '" OR `$db_table{$DBfile}[1]`="', @where ) . q~"~ );Now, my gut tells me the section of code inside the join for the delimiter should be interpolated not a literal. But I'd like a second or third opinion.
Back to
Seekers of Perl Wisdom
|
|