Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Code style advice: where to put "use" statements?by BrowserUk (Patriarch) |
on Feb 27, 2008 at 04:46 UTC ( [id://670482]=note: print w/replies, xml ) | Need Help?? |
It does have the notional affect of stating that the module's use is limited, by convention rather than scoping, to the subroutine. However, there is nothing to enforce that, so the usage could 'leak', which could be construed as misleading. And what would you (they) do if a module is subsequently needed in another subroutine in the same file? Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|