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


in reply to Re2 (-l): I don't use printf enough
in thread I don't use printf enough


I like -l but wish that there was a way to selectively counter-act it

Here is one way:

#!/usr/bin/perl -wl print "aaa"; { local $\; print "bbb"; } print "bbb"; print "ccc"; __END__ Prints: aaa bbbbbb ccc

--
John.