Do you know where your variables are? | |
PerlMonks |
Re: Using "my" suppresses "Name used only once" warning?by jepri (Parson) |
on Feb 03, 2003 at 00:32 UTC ( [id://232099]=note: print w/replies, xml ) | Need Help?? |
At first I thought that perl would optimise away useless declarations, but after playing with B::Deparse I discovered that perl did not do this. And then I figured out why:
Naughty, but still legal. So in this case, it really is a feature, and not a bug. ____________________
In Section
Seekers of Perl Wisdom
|
|