http://www.perlmonks.org?node_id=927693


in reply to Re^6: timestamp in perl
in thread timestamp in perl

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; }

Replies are listed 'Best First'.
Re^8: timestamp in perl
by baperl (Sexton) on Sep 25, 2011 at 02:37 UTC
    my apologies....I was preparing and executing the wrong query as you'll notice in my code....the marvels of copy and paste. your code on the Data::Dumper is helpful, so thanks for that....it'll save me trouble in the future :-)