Think about Loose Coupling | |
PerlMonks |
Re^4: Avoiding silly programming mistakesby moritz (Cardinal) |
on Aug 20, 2008 at 14:04 UTC ( [id://705515]=note: print w/replies, xml ) | Need Help?? |
If you even declare a variable, it would be nonsensical to warn when you assign to it. It's more the other way round:
(variable declaration in a conditional without assignment) could actually warn, because it will never be true. (But perl intentionally doesn't have such warnings, some people like stuff like if (0) { ... }).
In Section
Seekers of Perl Wisdom
|
|