Larry Wall writes: > Offhand, I think I'd rather see something that explicitly puts things > into the currently compiling scope, bypassing however many levels > necessary to do that. This is what Module->import is doing now (if it modifies $^H, %^H). See my example BEGIN { require strict; strict->import('vars') if $^O eq 'pdp'; } It will propagate strictness into whatever is compiled when ->import is called (it is the enclosing scope of BEGIN - indeed, BEGIN is *already compiled* when strict->import('vars') is called). IlyaThread Previous | Thread Next