in reply to RE: How do I remove blank lines from text files?
in thread How do I remove blank lines from text files?
As you've undefined $/ and are therefore acting in 'slurp' mode, you'll read the whole file in with your first call to <IN>. Doesn't that make your while loop unecessary?
--
|
|---|