http://www.perlmonks.org?node_id=443399


in reply to Re^3: trim leading & trailing whitespace
in thread trim leading & trailing whitespace

Hi bart,

I see what you mean now. I thought you were suggesting it would remove the newline characters, not just the blank lines. Your way is more correct.

cheers

thinker

  • Comment on Re^4: trim leading & trailing whitespace