That "trick" doesn't work for lexical scope pragmas like
strict and warnings. You also
want to be careful that the modules you are using export
their symbols to the right package.
I would not easily do something like this. If you want to
save typing, use a template, and copy the template when
you start with a new file. Or use an editor macro.