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/fixqueries.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/fixqueries.pl') diff --git a/scripts/fixqueries.pl b/scripts/fixqueries.pl index 2619081ce..c26165160 100755 --- a/scripts/fixqueries.pl +++ b/scripts/fixqueries.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public @@ -20,10 +20,10 @@ # # Contributor(s): Gervase Markham +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