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

The statement is still false even if it's surrounded by true ones.

Except that its not false even a little

equivalence n 1: a state of being essentially equal or equivalent;

Replies are listed 'Best First'.
Re^7: shift on empty array in list context broken
by ikegami (Patriarch) on Jul 19, 2019 at 08:06 UTC

    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.

      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