Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Detect undefined subroutinesby dragonchild (Archbishop) |
on Sep 17, 2004 at 18:40 UTC ( [id://391872]=note: print w/replies, xml ) | Need Help?? |
HOWEVER, variables can also be made on the fly, so it seems like a stupid argument, because 'use strict' can enforce that variables be declared somewhere.
Strictures enforces this because it is much less likely you will want to use a variable that has been defined on the fly than a subroutine that has. In fact, defining subroutines on the fly is the basis of several styles of programming. I haven't heard of a style that depends on defining variables on the fly. And, frankly, if you did, you'd use a hash. :-) ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested
In Section
Seekers of Perl Wisdom
|
|