Skip Menu |

This queue is for tickets about the Sub-Delete CPAN distribution.

Report information
The Basics
Id: 128076
Status: new
Priority: 0/
Queue: Sub-Delete

People
Owner: Nobody in particular
Requestors: me [...] eboxr.com
Cc:
AdminCc:

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



Subject: t/test.t is storing reference in hash hint
not a big deal as this is coming from a unit test but this is a bad idea to store references in hash hint $^H{'Sub::Delete_test'} = bless [], ScopeHook; view: https://grep.metacpan.org/search?qci=&q=%5C%24%5C%5EH.*%3D.*bless&qft=&qd=Sub-Delete The hints hash (%^H) cannot be used to store hashrefs as values, so any implementation that relies on putting hashrefs in %^H is intrinsically broken. See "Implementation details" in the perlpragma manpage. https://perldoc.perl.org/perlpragma.html#Implementation-details You can also view Damian Conway workaround with Lexical::Hints module for a clean work-around for this (annoying) limitation with %^H.