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'