in reply to Re: in need of wisdom
in thread in need of wisdom: handling DNA strings
I think you'd only want to do it once, after the loop.
Also, the original code did
which would wrap the lines. $dna is also output to OUTFILE, as you can see.$dna =~ s/(.{60})/$1\n/g; print "$dna\n"; print OUTFILE "$dna\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print $dna each time?
by rob_au (Abbot) on Apr 23, 2002 at 13:52 UTC |