in reply to Use Strict needed?
Had you asked the same question about starting to use "-w" instead of "use strict", I had suggested to ignore the warnings and disable -w again. After all, if you script runs without problems, let it, and use of uninitialized values could just mean that Perls default is working for you.
But if you get these warnings because of "use strict", you might have some deep and dark errors hidden in the bowels of you script. I'd worry if I were you.
In general, it's a good idea to use "use strict" and "-w", as it well help you while you are developping your script. But there's not much to gain to add them to an existing script that has proven to run without problems.
Unless you plan to modify it. But "use strict" is lexically scoped, and "use warnings" is lexically scoped too.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Use Strict needed?
by Anonymous Monk on Aug 05, 2002 at 13:14 UTC |