Help for this page

Select Code to Download


  1. or download this
    my ($key, $value) = split /\s/, $line;
    next LINE if not $key;
    $hash{$key} = $value;
    chomp (%hash);
    
  2. or download this
    use strict;
    use warnings;
    ...
         }
    close $fh;
    print Dumper(\%hash);