in reply to Re: 'Invisible' newlines/line wrapping
in thread 'Invisible' newlines/line wrapping

Always use strictures (use strict; use warnings). Not just warnings (which you sort of get with -w), but strict too.

-w applies to the entire script which will affect modules too. use warnings only applies to the enclosing block (normally a file) and is generally most appropriate.

True laziness is hard work