From 8b44ea28c7eb989926e06b0fd8b861e13af05a26 Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Mon, 13 Oct 2003 17:09:03 +0000 Subject: [PATCH 1/1] Removed the call of canonpath() in dir_read(). File::Spec is not longer included in this module. --- modules/File/Access.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/File/Access.pm b/modules/File/Access.pm index da783d3..6f84b3f 100644 --- a/modules/File/Access.pm +++ b/modules/File/Access.pm @@ -7,7 +7,7 @@ package File::Access; # with only one command # # Author: Patrick Canterino -# Last modified: 09-26-2003 +# Last modified: 2003-10-13 # use strict; @@ -15,7 +15,6 @@ use strict; use vars qw(@EXPORT); use Carp qw(croak); -use File::Spec; ### Export ### @@ -59,7 +58,7 @@ sub dir_read($) { next if($entry eq "." || $entry eq ".."); - if(-d File::Spec->canonpath($dir."/".$entry)) + if(-d $dir."/".$entry) { push(@dirs,$entry); } -- 2.34.1