- or download this
# use strict;
# use warnings;
- or download this
open(READ,"<dna.txt");
@e = <READ>;
$a = join( " ", @e );
- or download this
open(READ,"<dna.txt");
my @e = <READ>;
my $a = join( " ", @e );
- or download this
for ( $i = 0 ; $i < length($a) ; $i++ ) {
$d = substr( $a, $i, 6 );
...
}
}
print $a ;
- or download this
my $printed = 0;
...
}
}
print substr( $a, $printed ), "\n";
- or download this
print "AND THE POSITION IN THE STRING IS:", print join( ',', ( @c, "\n
+" ) ), "\n\n";
- or download this
print "AND THE POSITIONS IN THE STRING ARE:", join( ',', @c ), "\n\n";