Suppress Sys::Syslog diag msg (repost)
[p5sagit/p5-mst-13.2.git] / ext / Sys / Syslog / t / constants.t
index b5d4ecb..c2002fb 100644 (file)
@@ -1,8 +1,9 @@
-#!/usr/bin/perl -T
+#!perl -wT
 use strict;
 use File::Spec;
 use Test::More;
 
+# NB. For PERL_CORE to be set, taint mode must not be enabled
 my $macrosall = $ENV{PERL_CORE} ? File::Spec->catfile(qw(.. ext Sys Syslog macros.all))
                                 : 'macros.all';
 open(MACROS, $macrosall) or plan skip_all => "can't read '$macrosall': $!";