Do you know where your variables are? | |
PerlMonks |
Re: SQL query using elements from arrayby toolic (Bishop) |
on Oct 03, 2014 at 17:35 UTC ( [id://1102762]=note: print w/replies, xml ) | Need Help?? |
Single quotes (q) prevent variable interpolation. $sql2 contains the literal string $date1[$i], not its value ('2013-08-01 00:00:00.000').
Tip #2 from the Basic debugging checklist (print). Try qq
In Section
Seekers of Perl Wisdom
|
|