make sure $file contains path as well as file/directory name. this will check if it is a readable fileif (-d $file)
if (-e $file)
In reply to Re: Diff between file and directory
by bear0053
in thread Diff between file and directory
by chuleto1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |