Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
good chemistry is complicated,
and a little bit messy -LW
 
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 taking refuge in the Monastery: (5)
As of 2014-04-20 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls