NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Oct 11, 2014 at 17:18 UTC

Replies are listed 'Best First'.
Re: Why is print output different?
by LanX (Saint) on Oct 11, 2014 at 15:14 UTC
    > I am surprised by the different output of print sort(@myarray);

    you already got an explanation of the difference between print LIST and the interpolation in print "@array"

    Either you keep asking the same question or you should learn How (Not) To Ask A Question.

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

    update

    differences are so small that I added a reap: dupe consideration!