in reply to Re^2: Text::CSV not able to execute insert query dynamically.
in thread Text::CSV not able to execute insert query dynamically.

But if you don't eval the string, Perl won't know to interpolate the values; it just inserts the literal $row->[0]. See my post above for a better solution.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.