in reply to How to avoid using array in concatenating string of multiple lines OR How To Read FASTA

$/ = "\n>";
That is also clumsy, for several reasons:
  1. You have to delete the trailing ">", at the end of every string (but the last)
  2. You have to delete the leading ">", at the start of every line
  3. You still have to delete every newline, and chomp won't work, because of the changed setting for $/.

Oh well. Such is life.

s/^>//; s/>$//; tr/<n//d;