In order for your variables to be interpolated, you must used double-quotes instead of single quotes (or none at all in this case would do as well).
$db->Sql($SqlStatement);
or possibly:
$db->Sql("$SqlStatement");
Either of those ought to work. I take it there is no return value to the Sql method, or perhaps you should be capturing that return?
In reply to Re^6: Perl CGI and SQL statements
by ptum
in thread Perl CGI and SQL statements
by kjg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |