proposed: @b = pop @a, $n; should this be equivalent to: @b = splice @a, -$n; # no longer a LIFO queue or : @b = reverse splice @a, -$n; # still a LIFO queue I guess it all depends on what you then do with @b, but you get my drift. This should be addressed, one way or another. -Aaron
- RFC 56 (v1) Optional 2nd argument to pop() and shift Perl6 RFC Librarian
- Re: RFC 56 (v1) Optional 2nd argument to pop() an... Chaim Frenkel
- Re: RFC 56 (v1) Optional 2nd argument to pop() an... Aaron J Mackey