in reply to Using "my" suppresses "Name used only once" warning?
my $d; my $s = '$d=10;print $d'; eval $s;
Naughty, but still legal. So in this case, it really is a feature, and not a bug.
____________________
Jeremy
I didn't believe in evil until I dated it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using "my" suppresses "Name used only once" warning?
by PodMaster (Abbot) on Feb 03, 2003 at 08:25 UTC | |
by Aristotle (Chancellor) on Feb 03, 2003 at 14:19 UTC |