Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 avoiding work at the Monastery: (3)
As of 2014-09-21 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls