if (-e $fileName) { # -e does NOT do a full stat, so we need to do one now # if (-d _ ) { if (-d $fileName) { # my @stat = stat(_); my @stat = stat($fileName);