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


in reply to For the 'print' function in perl v5.14

My perl v5.14.2 behaves as expected (no newlines,say). You should also show the perl version:
perl -e 'print 123; print 456; print $]' 1234565.014002 perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-li +nux-thread-multi

Replies are listed 'Best First'.
Re^2: Bug for the 'print' function in perl v5.14?
by Diamondust (Novice) on Sep 25, 2012 at 00:20 UTC
    perl -e 'print 123; print 456; print $]' Shows: 123 456 5.014002
    perl -v Shows: This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-li +nux