use English; local $INPUT_RECORD_SEPARATOR = '>'; while (my $buf = <$fh>) { # remove '>' & skip empty records: chomp($buf); next if ($buf =~ m/^\s*?$/); my $fasta = ">$buf\n"; };
In reply to Re: Input record separator
by monkey_boy
in thread Input record separator
by travisbickle34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |