Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 exploiting the Monastery: (7)
As of 2014-12-21 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (108 votes), past polls