From 72197b596fae2733383c9de70197363fdd1c05d9 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 21 Dec 2016 16:32:09 -0500 Subject: Bug 1321662 - Ensure that Carp and Carp::Heavy are only loaded after @INC is setup with the vendor bundles --- email_in.pl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'email_in.pl') diff --git a/email_in.pl b/email_in.pl index 0e61bf8f1..f36ddb2a1 100755 --- a/email_in.pl +++ b/email_in.pl @@ -10,13 +10,7 @@ use 5.10.1; use strict; use warnings; -use FindBin; -BEGIN { - require lib; - my ($bin) = $FindBin::Bin =~ /^(.*)$/; - - lib->import("$bin", "$bin/lib", "$bin/local/lib/perl5"); -} +use lib qw(. lib local/lib/perl5); # MTAs may call this script from any directory, but it should always # run from this one so that it can find its modules. -- cgit v1.2.3-24-g4f1b