in reply to Re (tilly) 4: Debugger, use strict, use warnings
in thread Debugger, use strict, use warnings
After playing with this for a while, it boils down to the fact that you can't get the pragma to bubble up an extra level but you can cut'n'paste (varying amounts of) code from the pragma's *.pm file into your own *.pm in order to create your own custom pragma which does the same thing (which seems obvious now but sure didn't a few minutes ago).
Anyway, the e.pm I wanted above can be had rather simply as:
- tye (but my friends call me "Tye")package e; require strict; require warnings; sub import { &strict::import; &warnings::import; } 1;
|
---|