Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^7: timestamp in perl

by Util (Priest)
on Sep 25, 2011 at 00:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://927693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found