Your approach does not always work. Try this piece of code:
use strict;#suppose this line is added by you no strict; use warnings; $a = "a"; &$a; sub a { print "abc"; }
This piece of code works with no problem, which disproves your way. You have to check wehther your "use strict" is cancelled in any way.
In reply to Re: imposing "strict" on an included file
by pg
in thread imposing "strict" on an included file
by dpuu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |