![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Possible redundant use of "use strict" and "use warnings"?by Special_K (Monk) |
on Mar 09, 2020 at 18:08 UTC ( #11114026=perlquestion: print w/replies, xml ) | Need Help?? |
Special_K has asked for the wisdom of the Perl Monks concerning the following question: I am reviewing code which has the following at the top of the script:
Then inside each subroutine it includes the same:
Is there any purpose to this seemingly redundant use of "use strict" and "use warnings" or can these statements be removed from each individual subroutine if I keep them at the top of the script?
Back to
Seekers of Perl Wisdom
|
|