perl paranoia about @INC
[exim.git] / src / src / transport-filter.src
index 2558bd7ec102bfe273c72df5133727c52e25f058..3f250e6578aa1a40a30a3e6990761bee87976930 100644 (file)
@@ -12,6 +12,7 @@
 #############################################################################
 
 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.