X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/95df6a6a2bb9185cceb1fcf205b4f9f07690ca27..548d69a4ee38cc59612e787f479ac198d5c37741:/modules/File/Access.pm diff --git a/modules/File/Access.pm b/modules/File/Access.pm index 31377d9..4fa468d 100644 --- a/modules/File/Access.pm +++ b/modules/File/Access.pm @@ -3,11 +3,11 @@ package File::Access; # # Dev-Editor - Module File::Access # -# Some simple routines for doing things with files -# with only one command +# Some simple routines for doing things with files by +# using only one command # # Author: Patrick Canterino -# Last modified: 2004-12-17 +# Last modified: 2005-01-06 # use strict; @@ -70,9 +70,9 @@ sub dir_read($) foreach my $entry(@entries) { - next if($entry eq "." || $entry eq ".."); + next if($entry eq '.' || $entry eq '..'); - if(-d $dir."/".$entry) + if(-d $dir.'/'.$entry) { push(@dirs,$entry); }