in reply to Use Strict needed?
See, the thing is that without use strict you can't be sure that _all_ of your variables are declared. You may have missed one or two.
In my opinion any program that I'm going to use for doing "real" work will always have use strict and use warnings in it. And I always put them in from the start for precisely the reason that you're seeing - it's far harder to retrofit them later.
Of course, it's up to you (or, I guess, your manager) as to whether you're going to insist on making all of your code run cleanly under strict and warnings, but I know I'd feel uneasy having them turned off in any production code.
Of course, you can make it easier for yourself to do the clean-up in sections by making judicious use of the no strict and no warnings pragmas.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use Strict needed?
by Abigail-II (Bishop) on Aug 05, 2002 at 12:53 UTC | |
by davorg (Chancellor) on Aug 05, 2002 at 13:00 UTC | |
by Sifmole (Chaplain) on Aug 05, 2002 at 13:13 UTC | |
by natebailey (Acolyte) on Aug 05, 2002 at 13:37 UTC | |
by Abigail-II (Bishop) on Aug 05, 2002 at 13:42 UTC | |
by Sifmole (Chaplain) on Aug 05, 2002 at 13:57 UTC | |
by Anonymous Monk on Aug 06, 2002 at 00:22 UTC |