Not sure what is the problem but couple of hints/ideas:
- DBI returns undef if database cell contains NULL. May be there is a problem in your database.
- There is one problem with your query. You use astersk in it but in most cases it is bad idea. Check this node and this node for explanation why.
- One wierd thing. For me (perl 5.6.1) Data::Dumper prints undef when it encounters undefined value in data structure. In your output I see just ''. What does it mean? Well,.. I don't know :(
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.