Skip Menu |

This queue is for tickets about the Data-Alias CPAN distribution.

Report information
The Basics
Id: 29118
Status: resolved
Priority: 0/
Queue: Data-Alias

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

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



Subject: Warning message introduced in 1.06
Starting with version 1.06, the following code started to produce the warning shown. It's only shown when the lexical variable is declared in the same statement as it's aliased. bsmith$ perl -MData::Alias -le'$h = \{var => \5}; alias my $x = ${$$h->{var}}; 456' Attempt to free unreferenced scalar: SV 0x814f648, Perl interpreter: 0x814e008. bsmith$ perl -MData::Alias -le'$h = \{var => \5}; my $x; alias $x = ${$$h->{var}}; 456'