|Don't ask to ask, just ask|
Can't detect Hash values that are emptyby SergioQ (Beadle)
|on Dec 26, 2020 at 21:22 UTC||Need Help??|
SergioQ has asked for the wisdom of the Perl Monks concerning the following question:
PLEASE IGNORE THIS QUESTION, I FEEL SO STUPID FOR POSTING IT. I WAS USING undef WHEN I SHOULD HAVE BEEN USING !define. Sorry
A delete question feature would be nice.
This is a new question but related to a recent post here of mine Having problems with DBI selectall_arrayref
Using the solution from my previous post, it works, and I can access both my column, and data from my MySQL table.
The data is there, but I am having problems finding empty fields. For instance the code below, loops through the hash, gives me the key(column) and value(MySQL field).
However, every item comes up as defined but empty, even though the code prints out its contents. You can see how far I've tried , i.e. moving the text from the hash to a new scalar.