Avoid using "-w" option in perl script shebang lines, being incompatible with "env...
[exim.git] / src / src / transport-filter.src
index 92a3b9dc4553efb2754260aca965e53a55c92a7f..2558bd7ec102bfe273c72df5133727c52e25f058 100644 (file)
@@ -1,4 +1,4 @@
-#! PERL_COMMAND -w
+#! PERL_COMMAND
 
 # This is a Perl script to demonstrate the possibilities of on-the-fly
 # delivery filtering in Exim. It is presented with a message on its standard
@@ -11,6 +11,7 @@
 # Philip Hazel, May 1997
 #############################################################################
 
+use warnings;
 
 # If the filter is called with any arguments, insert them into the message
 # as X-Arg headers, just to verify what they are.