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

Re: Use of fetchall_hashref

by runrig (Abbot)
on Sep 07, 2012 at 14:47 UTC ( #992325=note: print w/ replies, xml ) Need Help??

in reply to Use of fetchall_hashref

Your $hash is a reference to a hash, not a hash. So you would need, e.g.:

print Dumper $hash->{E200}; # Or for a certain column print "$hash->{E200}{job}\n";

Comment on Re: Use of fetchall_hashref
Select or Download Code
Re^2: Use of fetchall_hashref
by Anonymous Monk on Sep 10, 2012 at 04:16 UTC

    hi we tried this print Dumper $hash->{E200}; But it is returning something like $VAR1 = undef; please help me out :( tried this also print "$hash->{E200}{job}\n"; But it not printing any value .

      Then all I can say is look at the output of:
      print Dumper $hash;
      and see what the output is, see if 'E200' is in there, etc.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2015-01-27 11:15 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (200 votes), past polls