demerphq writes:
> > On Thu Feb 01 23:25:52 2001, me-01 <at>
ton.iguana.be wrote:
> > > perl -wle 'use Data: umper;
use WeakRef; $foo = [1]; $baz=$foo; push
> > > baz, weaken($foo); print Dumper baz;
print Dumper $foo;'
...
> > > (PS: why do I not get a warning that I use
$baz only once ?)
> If theres a real bug here its the point about $baz. I
guess the reason
> is because $baz and baz are used, but is that a
bug?
If so, it's by design; that warning is solely glob-based:
$ perl -we'sub x { } x = 1..9'
$ perl -we' x = 1..9'
Name "main: "
; used only once: possible typo at -e line 1.
Perl6...
|