Skip Menu |

This queue is for tickets about the ppt CPAN distribution.

Report information
The Basics
Id: 96488
Status: resolved
Priority: 0/
Queue: ppt

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: use of hash as reference is deprecated and being removed!
Hi! Your distribution, ppt, uses the long-deprecated (since 2001) construct %HASH->{$i} rather than %HASH{k}. This will most likely be removed in perl 5.22.0, which will be released in just under a year. It has already been removed in our development branch. I found the occurrences of this construct in your code with this: http://grep.cpan.me/?q=%25\s*[%3Aa-zA-Z0-9]%2B\s*-%3E\s*\{ Specifically, it's in `fortune`: https://metacpan.org/source/CWEST/ppt-0.14/bin/fortune#L213 Please consider making a new release with the deprecated form removed! -- rjbs
This is fixed in the PerlPowerTools repo, the revitalized version of this project. http://blogs.perl.org/users/brian_d_foy/2014/09/revitalizing-the-perl-power-tools.html