Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 wandering the Monastery: (5)
As of 2014-09-21 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (168 votes), past polls