in reply to anyway to abbreviate use strict; use warnings;
#!/usr/bin/perl -w # on the first line of file (*NIX or Windows). # on a Unix type system, you need all but the -w anyway. # a Windows box will see the -w and use it. # I always recommend the usage of: # use strict;
"Strict" has a compile time penalty. "Warnings" has a run-time penalty (but not that much). Unless you are darn sure your program is working very well AND you need the extra performance, I would never turn "Warnings Off". Strict is a compile time option and very cheap. Always use that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: anyway to abbreviate use strict; use warnings;
by ikegami (Patriarch) on Jan 11, 2009 at 08:26 UTC |