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.
In reply to non-barewords and use strict by Solo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |