]> git.p6c8.net - devedit.git/commitdiff
Removed the call of canonpath() in dir_read(). File::Spec is not longer included...
authorpcanterino <>
Mon, 13 Oct 2003 17:09:03 +0000 (17:09 +0000)
committerpcanterino <>
Mon, 13 Oct 2003 17:09:03 +0000 (17:09 +0000)
modules/File/Access.pm

index da783d3897ab02ab1894f098f3c24f35f3fa02ca..6f84b3fb61f6e11c73c60f9b058d11ab5c59c522 100644 (file)
@@ -7,7 +7,7 @@ package File::Access;
 # with only one command
 #
 # Author:        Patrick Canterino <patshaping@gmx.net>
-# 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);
   }

patrick-canterino.de