- or download this
use strict; use warnings;
use Algorithm::Diff qw/ LCS_length /;
...
}
__END__
- or download this
while ( <$fh> ) {
...
}
- or download this
while ( <$fh> ) { # each line is loaded into $_ in turn
my @characters = split //;
}
- or download this
while ( my $line = <$fh> ) { # each line now in $line
my @characters = split //, $line;
}