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

Re: Perl DBI help

by Perlbotics (Canon)
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988699]
[james28909]: it would be to much work just to get around renaming three subs lol
[james28909]: but you could put it all in one sub and return the same data type that was inputted. i could write a small example maybe
[Lady_Aleena]: Their uses are also vastly different.
[Lady_Aleena]: The first two make hashes and arrays from a file, the third returns data from a pre-existing hash.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-05-24 05:04 GMT
Find Nodes?
    Voting Booth?