- or download this
my @files = undef; #list of files to run script on
while(my $line = <INPUT>){
chomp($line);
push @files, $line;
}
- or download this
my @files = <INPUT>;
chomp @files;
- or download this
my $avg = <IN> + <IN> + <IN> + <IN>
+ <IN> + <IN> + <IN> + <IN>
+ <IN> + <IN> + <IN> + <IN>;
$avg /= 12;