From: pcanterino <> Date: Mon, 13 Oct 2003 17:09:03 +0000 (+0000) Subject: Removed the call of canonpath() in dir_read(). File::Spec is not longer included... X-Git-Tag: version_1_1~10 X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/8b44ea28c7eb989926e06b0fd8b861e13af05a26?hp=89269f652fc46e65006b9aead5eb1ae61ebc311e Removed the call of canonpath() in dir_read(). File::Spec is not longer included in this module. --- 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); }