I think using File::Slurp is even easier and more perl-ish :)
(update : removed a stray space)use File::Slurp; # read file as a string my $text = read_file('dna.txt'); # now remove whitespace including line breaks $text =~ s/\s+//g; # ...do stuff
In reply to Re^2: motif finding
by RichardK
in thread motif finding
by devi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |