Help for this page

Select Code to Download


  1. or download this
    my $myfile = $ARGV[0];
    open FILE, "<", $myfile || die "No open $!\n";
    ...
    my $a = <FILE>;
    
    my @t = split(/^\n/m, $a);
    
  2. or download this
    $hash{$key} .= exists $hash{$key} ? ",$val" : $val;