Warnings in tests

Sébastien Aperghis-Tramoni maddingue at free.fr
Thu Mar 15 11:31:53 GMT 2007


Rafael Garcia-Suarez wrote:

> On 15/03/07, David Cantrell <david at cantrell.org.uk> wrote:
> > The only way I can think of is to replace my perl executable with a
> > script that does ...
> >
> >   #!/bin/sh
> >   /path/to/real/perl -MThingy::To::Make::Warnings::Fatal "$@"
> >
> > but that's icky.  Can anyone think of a better way?
>
> use PERL5OPT ? (man perlrun)

Problem is that it will be ignored when taint mode is enabled, which is
often the case for tests (and is in my opinion more important than one
or warnings).

--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.


More information about the london.pm mailing list