in reply to Re^2: How to test for a new line
in thread How to test for a new line

Try 'eq' and you'll be better off.

Oh - turn on warnings. You'll have found you're not doing what you think you're doing.


  • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
  • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"