It would help to know whether the key {'md'} is missing from the hash, or the key exists but the value undefined. Also, what else is in the hash?
What output do you get with this change?
# ... same code as above use Data::Dumper; $Data::Dumper::Useqq = 1; if ( my $hash_ref = $sth->fetchrow_hashref ) { print Dumper $hash_ref; }
In reply to Re^7: timestamp in perl
by Util
in thread timestamp in perl
by baperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |