This means you never declared nor defined $col7. The following is missing from your code:
my $col7 ;
Note that $col7 will remain undefined until you set it to something else. DBI will treat undef as NULL while executing SQL statements.
In reply to Re: inserting enum column into mysql from Perl program
by onelesd
in thread inserting enum column into mysql from Perl program
by baperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |