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

Re: How does DBI return an arrayref with key/value pairs?

by grantm (Parson)
on Jun 24, 2013 at 01:59 UTC ( #1040346=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $hash_ref = $array_ref->[2];
      my $value = $hashref->{$key};
    
  2. or download this
      my $value = $array_ref->[2]->{$key};
    
  3. or download this
      my $value = $array_ref->[2]{$key};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-03 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls