develooper Front page | perl.perl5.porters | Postings from June 2013

[perl #118215] make Module:CoreList's %deprecated a delta hash

Thread Previous
From:
Ricardo SIGNES via RT
Date:
June 10, 2013 22:58
Subject:
[perl #118215] make Module:CoreList's %deprecated a delta hash
Message ID:
rt-3.6.HEAD-2552-1370905069-1146.118215-15-0@perl.org
On Tue May 28 20:10:34 2013, mike@mikedoherty.ca wrote:
>[a patch!]

Thanks, Mike!

We discussed this on IRC, and for the record:  it seems like this will never reset the contents as it 
should.  For example, 5.013001 should have one entry, but this code makes it look like it will 
have quite a few more, including everything from 5.012005 as well.

When I tried to test this, things got a bit odd:

IN BLEAD:

  DB<11> x $Module::CoreList::deprecated{'5.013001'}
  0  HASH(0x7fa5dd042c18)
     'Shell' => 1

WITH THE PATCH:

  DB<5> x $Module::CoreList::deprecated{'5.013001'}
  0  HASH(0x7fc043f9ec48)
     empty hash

Mike said he'd investigate.

-- 
rjbs

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118215

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About