* Andrew Molyneux <[EMAIL PROTECTED]> [2002-11-20 18:25]: > A. Pagaltzis wrote: > > Enter splice. > > > > my ($max, $sep, $end) = splice @_, 0, 3; > > That has brevity, certainly, but for legibility, I think I > prefer Steven's original (shift,shift,shift)
Really? I find the splice version a lot easier on the easier on the eyes. But that's a matter of taste. How many parameters do I have here? shift, shift, shift, shift, shift, shift, shift, shift, shift, shift; .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. And this time? splice @_, 0, 10; Point in case, scalability. -- Regards, Aristotle