Help for this page

Select Code to Download


  1. or download this
    # where $inp = your file contents...
    
    ...
    
    print $hash{'section2'}->{'key2'}[0] . "\n";
    print $hash{'section3'}->{'key2'}[0] . "\n";
    
  2. or download this
    $key = $hash{'section2'}->{'key2'};
    foreach (@$key) {
        print "$_\n";
    }