From cdce0d84229946d4570d542b72b188f62c26a6d3 Mon Sep 17 00:00:00 2001 From: Eric Brine Date: Fri, 3 Feb 2012 22:32:57 -0500 Subject: [PATCH] Load File::Spec before using it in Cwd --- dist/Cwd/Cwd.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/Cwd/Cwd.pm b/dist/Cwd/Cwd.pm index 7d04260..83ddae9 100644 --- a/dist/Cwd/Cwd.pm +++ b/dist/Cwd/Cwd.pm @@ -579,6 +579,7 @@ sub _perl_abs_path unless (opendir(PARENT, $dotdots)) { # probably a permissions issue. Try the native command. + require File::Spec; return File::Spec->rel2abs( $start, _backtick_pwd() ); } unless (@cst = stat($dotdots)) -- 2.7.4