Just another Perl shrine | |
PerlMonks |
Re: Why use strict/warnings?by FoxtrotUniform (Prior) |
on Aug 09, 2001 at 23:59 UTC ( [id://103605]=note: print w/replies, xml ) | Need Help?? |
Just thought I'd throw in something else that I haven't seen posted yet: saying
lets anyone else who reads your code know that you know what you're doing, which makes a difference when they read it. (They can, for instance, assume that if they see an unqualified variable in a subroutine, it's local to that sub, and not some sort of magic state that affects other parts of the code.) This makes your code easier to read, which makes everyone happier.
In Section
Seekers of Perl Wisdom
|
|