Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

hash from CSV-like structure

by manav_gupta (Acolyte)
on Jan 04, 2008 at 18:58 UTC ( [id://660451] : perlquestion . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    200326951|_|rel_Access1|_|200315482|_|
    200326951|_|rel_Access1|_|200315786|_|
    200326951|_|rel_Access2|_|200315482|_|
    200326951|_|rel_Access2|_|200315786|_|
    
  2. or download this
    my %hash;
    
    ...
    
    use Data::Dumper;
    print Dumper(\%hash);
    
  3. or download this
    $VAR1 = {
      '200326951' => {
    ...
            }
         }
    };
    
  4. or download this
    $VAR1 = {
      '200326951' => {
    ...
    };