On Tue, Apr 23, 2013 at 09:52:07PM -0700, Eric Brine via RT wrote: > It's not a regression; it's an intentional change. > > C<< splice(@a, $n) >> is commonly used to truncate an array if it's too > large, so C<< splice(@a, $n) >> (with no further args) does not warn even > if @a<$n. This is quite reasonable (and indeed, this is the exact usecase where I discovered that there was a warning on my not-quite-as-current production system). :) > So, this is merely a documentation bug for which I'll submit a patch > tomorrow. Thanks! (Was there also a perldelta entry for this? it's not too late to put one in perldelta5160.)Thread Previous | Thread Next