No, code brought in with use or require is its own top-level lexical scope.
Explained differently, lexical scopes do not cross file boundaries in Perl; the loading mechanism is not a preprocessor.
If this were not so, the common convention of making use strict; the first statement in a script would also apply strict to all library modules, but this does not happen.
In reply to Re^4: Backdating strict
by jcb
in thread Backdating strict
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |