in reply to Confusing variable names
But no warnings for things that might confuse you. That's your own problem. Or maybe, perception. Because if you use both my $y and my @y, it wasn't confusing at the moment you wrote it. And since there's no possibility of actually confusing them - they remain quite distinct variables - Perl will not issue a warning.
And I think it should stay that way. Compilers should warn if there's the possibility of a mistake, but they should not have an opinion about coding style.
Abigail
|
|---|