Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2015-07-04 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls