From 951ec772e31db6e4f193fc62c72c7150d76e68bf Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 17 Nov 2011 20:06:24 +0000 Subject: [PATCH] fixed bug in grab git-svn-id: http://biopieces.googlecode.com/svn/trunk@1663 74ccb610-7750-0410-82ae-013aeee3265d --- code_perl/Maasha/Patscan.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_perl/Maasha/Patscan.pm b/code_perl/Maasha/Patscan.pm index 6de7368..386b6e4 100644 --- a/code_perl/Maasha/Patscan.pm +++ b/code_perl/Maasha/Patscan.pm @@ -59,7 +59,7 @@ sub read_patterns while ( $line = <$fh> ) { - $line =~ s/\r\n//g; + $line =~ s/\r|\n//g; next if $line eq ""; -- 2.39.5