"I've updated the code and $ins_rec prints nothing"
That's a big problem, right? So you now have two jobs:
First: find out why $ins_rec is empty when you try to send an INSERT to MySQL.
Second: Convert your program to use placeholders so that you are not subjecting yourself to possibly corrupt SQL or SQL injection attacks due to unescaped metacharacters.
Dave
In reply to Re^3: MySQL INSERT in Perl
by davido
in thread MySQL INSERT in Perl
by baperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |