As you say, where you use a module matters not in Perl 5 and I have done it both ways over past years. But this year, since I am now cognizant of Perl 6's module scoping rules, I put the module use statement in a subroutine unless it is to be used in more than one scope.
In reply to Re: Where in a package should 'use' be called?
by u65
in thread Where in a package should 'use' be called?
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |