- or download this
open(FILE, '/location/data/p4.txt') or die "Cant't open file: $!\n
+";
- or download this
use strict;
use warnings;
...
# ...
close $fh;
- or download this
my %myhash = ();
my @data = ();
...
foreach (@data) {
%myhash = (@data => $k++);
}
- or download this
my %total_values_by;
...
chomp $value;
$total_values_by{$value}++;
}