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


in reply to formats output \r\n question

See perlrun; you can also use the -l option for end-line processing. This will affect print() and write(), but not funtions like printf() .

#/usr/bin/perl -lw