X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Ftransport-filter.src;h=3f250e6578aa1a40a30a3e6990761bee87976930;hb=1b7cf216d933b395dee691f05becca4dd44b26f7;hp=92a3b9dc4553efb2754260aca965e53a55c92a7f;hpb=3634fc257bd0667daef14d72005cd87c735bbb24;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/transport-filter.src b/src/src/transport-filter.src index 92a3b9dc4..3f250e657 100644 --- a/src/src/transport-filter.src +++ b/src/src/transport-filter.src @@ -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,8 @@ # Philip Hazel, May 1997 ############################################################################# +use warnings; +BEGIN { pop @INC if $INC[-1] eq '.' }; # If the filter is called with any arguments, insert them into the message # as X-Arg headers, just to verify what they are.