in reply to Re: Why isn't C<use strict> the default?
in thread Why isn't C<use strict> the default?
I guess I would 'fix' that problem by including an extra prompt that would be displayed when an AM or new member (say their first 10 posts), posts a SoPW that read:
Is your problem related to the (possibly sudden) appearance of errors like:
"Global symbol "$x" requires explicit package name at ..."? Are you using, or did you just install version 5.x.strict of Perl?
Have you tried adding "no strict" to the top of your program?
You must answer these questions before continuing.
If you answer "Yes, Yes, No" to these 3 questions your question will not be submitted.
If you answer otherwise, but it then transpires that you lied, your question will be summarially deleted and ignored.
If adding "no strict" fixes your problem, but you would like to learn how to avoid using it, then Welcome to the Monastery.
Hmm. Probably need a lawyer (or just someone competent with English!) to get the wording just right. Or maybe that's just too selfish? :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Why isn't C<use strict> the default?
by Anonymous Monk on Oct 28, 2004 at 17:12 UTC | |
by BrowserUk (Patriarch) on Oct 28, 2004 at 17:36 UTC | |
by Anonymous Monk on Oct 29, 2004 at 08:11 UTC | |
by BrowserUk (Patriarch) on Oct 29, 2004 at 08:54 UTC | |
by Anonymous Monk on Oct 29, 2004 at 09:12 UTC | |
|