John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
First, how do I silence this warning during -c? It doesn't bother during a normal run, and I have "use warnings" on, so it's not a normal warning handled by the pragma.
Second, why does it let me refer to *import without declaring it first or qualifying it when use strict is in effect? Is it because it's a sub in this case, or are globs immune from the checking, or is import pre-declared?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(bbfu) Re: 'used once' during perl -c
by bbfu (Curate) on Nov 01, 2002 at 04:24 UTC | |
|
Re: 'used once' during perl -c
by broquaint (Abbot) on Nov 01, 2002 at 13:31 UTC | |
by John M. Dlugosz (Monsignor) on Nov 01, 2002 at 16:14 UTC | |
by bbfu (Curate) on Nov 02, 2002 at 18:53 UTC | |
by John M. Dlugosz (Monsignor) on Nov 04, 2002 at 20:18 UTC | |
by bbfu (Curate) on Nov 06, 2002 at 02:19 UTC |