in reply to Re^4: shift in list context buggy?
in thread shift in list context buggy?

Funny LanX
shift(@a) splice(@a,0,1)
shift is equivalent to splice ONE

Replies are listed 'Best First'.
Re^6: shift in list context buggy?
by LanX (Saint) on Nov 12, 2013 at 14:56 UTC
    > shift is equivalent to splice ONE

    Nope, not in list context, read the OP again....

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      No, you. Thats the only place in docs equivalence is claimed, no other place.
        So no other place to correct the wrong documentation? : (

        Thanks for confirming BUK and pity your account was blocked again...

        Cheers Rolf

        ( addicted to the Perl Programming Language)