Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^7: timestamp in perl

by Util (Priest)
on Sep 25, 2011 at 00:31 UTC ( #927693=note: print w/replies, xml ) Need Help??


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 :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2020-05-25 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (145 votes). Check out past polls.

    Notices?