in reply to SQL quoting problem
I've used this module quite a bit.
I notice you aren't escaping your single quotes. I have used the following syntax without problems.
my $Sql = "select x, y, z from tab where this = \'that\'"; [download]