in reply to Re: Trying to slice off all array elements but the last one
in thread Trying to slice off all array elements but the last one

Thanks .. you reply is almost correct. It's actually

@{$arrayref}[0 .. ($#{$arrayref} - 1)];
but thanks for replying, I appreciate it. The solution involving temporary arrays seemed so ugly. And I added extra braces to remind me (in a months time) that I'm dealing with an ARRAY referece.

Alex / talexb / Toronto

Life is short: get busy!