in reply to MySQL INSERT in Perl
You have not showed HOW this insert string is applied into the database.my $ins_rec="INSERT INTO $table (symbol,expn_dt,strike,open,bid,ask,la +st,volume) VALUES('" . join( "','", map {$h1{$_}} qw| symbol strike open bid ask last +volume |). "')";
That is where I suspect the problem is. Please show more of the relevant part of the code.
"XML is like violence: if it doesn't solve your problem, use more."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MySQL INSERT in Perl
by chromatic (Archbishop) on Aug 04, 2011 at 05:34 UTC | |
|
Re^2: MySQL INSERT in Perl
by happy.barney (Friar) on Aug 04, 2011 at 12:13 UTC | |
by baperl (Sexton) on Aug 04, 2011 at 15:00 UTC | |
by happy.barney (Friar) on Aug 05, 2011 at 09:17 UTC | |
by baperl (Sexton) on Aug 05, 2011 at 12:28 UTC | |
|
Re^2: MySQL INSERT in Perl
by baperl (Sexton) on Aug 04, 2011 at 14:34 UTC |