Solo has asked for the wisdom of the Perl Monks concerning the following question:
After a somewhat exhaustive search (please forgive me if I've missed a relevant post here or elsewhere--please direct me to 'em) I've yet to find an answer to this troubling philosophical 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.
Back to
Seekers of Perl Wisdom