Help for this page

Select Code to Download


  1. or download this
    while (<$in>) {
            chomp;
            my @data = split(/\s*=\s*/);
            $hash{$data[0]} = $data[1];
    };
    
  2. or download this
    while (<$in>) {
            chomp;
            my ($key, $value) = split(/\s*=\s*/);
            $hash{$key} = $value;
    };