more useful options | |
PerlMonks |
Re: Simple filter from rows of input fileby Anonymous Monk |
on Aug 13, 2014 at 20:25 UTC ( [id://1097345]=note: print w/replies, xml ) | Need Help?? |
Perhaps you just need to chomp($seq)? Also, if you don't want special characters in the SEQ file to be interpreted as part of the regex, you should write /\Q$seq\E/ (see quotemeta).
In Section
Seekers of Perl Wisdom
|
|