Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: inserting enum column into mysql from Perl program

by onelesd (Pilgrim)
on Sep 25, 2011 at 22:19 UTC ( [id://927772]=note: print w/replies, xml ) Need Help??


in reply to inserting enum column into mysql from Perl program

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.

Replies are listed 'Best First'.
Re^2: inserting enum column into mysql from Perl program
by baperl (Sexton) on Sep 25, 2011 at 22:28 UTC
    understood....yes indeed, I had not...let me fix that and see if it works ... thx!
      thanks, I fixed that and it works:-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://927772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found