in reply to best way to learn use strict

take a look at: perldoc strict and make note of what kinds of things will cause runtime errors when using the pragma (for instance the docs note that "strict refs" will cause a runtime error if you use symbolic references") and avoid those types of things when programming in Perl.

IMHO though, I think the best way to learn how to "use strict" is to take a program that you have programmed in the past without strict (that breaks when you add "strict") and fix it so it runs under strict, and/or just start using "strict" in anything that will is not just a one time throw away script, before long you will just habitually put "my" (or "our", or fully qualify them.. etc.. ) in front of variables when you declare them, avoid the use of symbolic references, and not use bareword identifiers, etc.

-enlil