X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/89269f652fc46e65006b9aead5eb1ae61ebc311e..8b44ea28c7eb989926e06b0fd8b861e13af05a26:/modules/File/Access.pm?ds=inline 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); }