On Tuesday 16 June 2009 20:04:18 Hans Dieter Pearcey wrote:
> On Tue, Jun 16, 2009 at 04:29:56PM -0700, Bill Ward wrote:
> > I like the Modern::Perl idea. I'm going to see if there's some way I
> > can do what it does.
>
> The hard part is getting it into all your code, not reproducing it
> technically, which is easy:
>
> package Fatal::Warnings;
> use warnings ();
> sub import { warnings->import(FATAL => 'all') }
> 1;
you might also want to look at Acme::use::strict::with::pride if you want a
technical means to force something like that to all modules, its incredibly
hacky to do it that way BUT it would probably be better than messing with %SIG
to make it happen.