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

print will print its arguments and then print the output record separator.

What's the output record separator? It's the variable $\ which is the empty string by default. It looks like something is setting your output record separator to a line break.

Things to check:

update: replaced sitecustomize.pl checking command with a more aesthetically pleasing, but functionally identical one

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

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:37 UTC
    perl -MConfig -E'$_="$Config{sitelib}/sitecustomize.pl"; -e()?say:()'

    This command prints nothing for me, but thank you all the same!