in reply to use strict
-w is the same as "use warnings". Warnings turns on optional warnings that may indicate problems with your code. Warnings will not stop your program from running, just send a message when it encounters something. Warnings also tend to be more run-time messages.
"use strict" restricts the use of unsafe constructs. Preventing the code from running if you do "dangerous" things. If something fails the "use strict" test the program will not run.
strict and warnings are well used together as they can help you prevent and catch different types of errors.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: use strict
by KM (Priest) on Jun 07, 2000 at 19:31 UTC | |
by mikfire (Deacon) on Jun 07, 2000 at 20:02 UTC |