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 --- scripts/reset_default_user.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/reset_default_user.pl') diff --git a/scripts/reset_default_user.pl b/scripts/reset_default_user.pl index 2888df48c..d0d2534f2 100755 --- a/scripts/reset_default_user.pl +++ b/scripts/reset_default_user.pl @@ -6,10 +6,10 @@ # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. +use 5.10.1; use strict; - -use FindBin qw($RealBin); -use lib ("$RealBin/..", "$RealBin/../lib", "$RealBin/../local/lib/perl5"); +use warnings; +use lib qw(. lib local/lib/perl5); use Bugzilla; use Bugzilla::Constants; -- cgit v1.2.3-24-g4f1b