I used to feel the same way. It's true that not having to think about variable scope or initialization seems easier and faster at first, but those gains have costs like difficulty of debugging and the constant danger of undetected typos. Strict will help you think more about why your variables exist and what constitutes sane defaults. You will find yourself creating less variables and knowing more about how your program works. The default values of your variables then become very useful in determining the flow of your code. Trust the monks, strict is your friend!
In reply to Re^7: Newline's creep in, while using Tie::File
by Anonymous Monk
in thread Newline's creep in, while using Tie::File
by always_coys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |