Skip Menu |

This queue is for tickets about the MooseX-Deprecated CPAN distribution.

Report information
The Basics
Id: 89870
Status: resolved
Priority: 0/
Queue: MooseX-Deprecated

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

Bug Information
Severity: Unimportant
Broken in:
  • 0.002
  • 0.003
  • 0.004
Fixed in: (no value)



Subject: my %already;
"my %already;" is declared but never used in the code. Maybe you wanted to implement something like print deprecation warnings only once, and this hash was needed for the implementation? Regards, Slaven
On 2013-10-30T10:33:07Z, SREZIC wrote: Show quoted text
> "my %already;" is declared but never used in the code. Maybe you > wanted to implement something like print deprecation warnings only > once, and this hash was needed for the implementation?
That's precisely what it was for. This feature would really need https://rt.cpan.org/Ticket/Display.html?id=89843 to be resolved to work effectively though. I don't think the undeclared variable causes much harm. An empty hash only takes 64 bytes of memory on my machine; and anybody who's using Moose probably isn't that concerned about 64 wasted bytes. I'll leave the variable there as a reminder to keep examining this possibility.
https://rt.cpan.org/Ticket/Display.html?id=89843 is now fixed on github, so hopefully this ticket will be able to get moving soon.
%already is no longer unused in 0.005.