in reply to Re^3: Backdating strict
in thread Backdating strict
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.
|
|---|