in reply to Re^6: shift on empty array in list context broken
in thread shift on empty array in list context broken

And shift(@a) is equivalent to splice(@a,0,1) —they can have evaluate to completely different values— making the statement false.

Returning a single undefined scalar is different than returning none at all.

Replies are listed 'Best First'.
Re^8: shift on empty array in list context broken
by LanX (Saint) on Jul 19, 2019 at 22:03 UTC
    Better stop feeding, this person is just repeating unfunded claims.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      Quoting from docs n dictionary is trolling? Wow
        yes /yes/ exclamation 1. used to give an affirmative response.