From 2b1b68c075986da675b33518a13d124139539fb6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 16 Aug 2009 12:37:39 -0400 Subject: [PATCH] avoid loading File::Spec when not needed --- dh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dh b/dh index 2e7385f..9a6af32 100755 --- a/dh +++ b/dh @@ -8,7 +8,6 @@ dh - debhelper command sequencer use strict; use Debian::Debhelper::Dh_Lib; -use File::Spec; =head1 SYNOPSIS @@ -339,6 +338,7 @@ if ($dh{LIST}) { my %addons; for my $inc (@INC) { + eval q{use File::Spec}; my $path = File::Spec->catdir($inc, "Debian/Debhelper/Sequence"); if (-d $path) { for my $module_path (glob "$path/*.pm") { -- 2.39.2