- or download this
my %nu_hash=(); #why is this an empty hash? (is he storing patterns
+in a hash?)
- or download this
my $sstr =""; #why is this an empty string?
- or download this
for ( my $i = 0; $slen >= $i + $pl; $i++ ) {
my $sstr = substr( $str, $i, $pl );
$nu_hash{ $sstr }++;
}
- or download this
for my $i ( 0 .. $slen - $pl ) {
my $sstr = substr( $str, $i, $pl );
$nu_hash{ $sstr }++;
}