Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl DBI help

by Perlbotics (Chancellor)
on Aug 21, 2012 at 11:20 UTC ( #988699=note: print w/replies, xml ) Need Help??


in reply to Perl DBI help

Seems that the table contains some NULL entries which are represented as undef value at the Perl/DBI end? When interpolating these undef values in the @$p expression, the warnings occur.

Try Data::Dumper or this snippet to investigate...

print "MySQL: ", join(" ; " , map { $_ // 'NULL' } @$p ), "\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988699]
help
Chatterbox?
[PriNet]: go figure, i just tried that, it retains some of the values (not the key) of the pre-assigned value
[PriNet]: i guess i'll just have to use two seperate hashes, there are two, but one is larger than the other, and when i reference the smaller one, it holds onto the values that were assigned to the larger hash (the keynames change, but unless i reassign a new valu

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-06-28 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.