List Info

Thread: lib/1_compile and lib/dosglob fail in make test, but not when




lib/1_compile and lib/dosglob fail in make test, but not when
user name
2006-12-24 23:03:59
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...


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )