Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How to retrieve element in hash?

by MadDogSailor (Initiate)
on Nov 30, 2012 at 09:44 UTC ( #1006440=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $recref = $dbh->
        selectall_hashref("SELECT * FROM DSA_RECORD 
           WHERE file_name = '$file_name'", 'RECORD_NAME');
    die unless $recref;
    
  2. or download this
    .-> HASH(0x110916be8)
       'DATA' => HASH(0x110916a98)
    ...
          'RECORD_NAME' => 'DATA'
          'RECORD_SELECTOR' => '^1'
          'SECTION_NAME' => undef
    
  3. or download this
    $recname='DATA';
    $fieldsep = $recref->{$recname}->{'FIELD_DELIMITER'};
    
  4. or download this
    Use of uninitialized value in print .....
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2015-04-20 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (364 votes), past polls