Hi, The text of the opening post (below) describes patches #2 and #3. Patch #1 changes two C<< exist($_[1]) >> to C<< @_ >= 2 >>. Any objections to that? They aren't part of tests for exists($a[]) or delete($a[]). - Eric On Sun, Dec 4, 2011 at 4:47 AM, Eric Brine <perlbug-followup@perl.org>wrote: > # New Ticket Created by "Eric Brine" > # Please include the string: [perl #105278] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=105278 > > > > This is a bug report for perl from ikegami@adaelis.com, > generated with the help of perlbug 1.39 running under perl 5.14.0. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > Hi, > > exists($a[$i]) and delete($a[0]) are deprecated, yet they don't emit a > deprecation warning. There has been talk about removing them from core or > changing their functionality, which required the deprecated warning to be > emitted. The attached patches add a deprecation warning for those > operations. > > I have previously gotten most use of exists($a[$i]) and delete($a[0]) > removed from the cpan/ directory, but two remain: > > - Object::Accessor has one remaining use, and there's an open ticket to > have it fixed. > - Tie::File needs to have C<< no warnings 'deprecated'; >> added around its > tests for its EXISTS and DELETE handler. I'll be happy to submit a patch > once this is committed. > > Thanks, > Eric > >Thread Previous | Thread Next