Solo has asked for the wisdom of the Perl Monks concerning the following question:
Why does use strict only check barewords?
Allow me to demonstrate my confusion.
I'm confused why subs with an argument list (even an empty one) should cause a non-existent sub to be ignored by strict. Could the great Monks please enlighten me?use strict; sub This::Does::Not::Fail { }; This::Does::Not::Fail; # rightly so This::Will::Fail; # as we expect It::Bothers::Me::That::This::Works (); # wassup with THAT?!
--
May the Source be with you.You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: non-barewords and use strict
by japhy (Canon) on Sep 16, 2002 at 20:35 UTC | |
|
Re: non-barewords and use strict
by sauoq (Abbot) on Sep 16, 2002 at 20:37 UTC | |
|
Re: non-barewords and use strict
by clintp (Curate) on Sep 16, 2002 at 22:48 UTC |