# get $filename if (-d $filename) { # a dir } elsif (-f $filename) { # a normal file } else { # something else }
In reply to Re: Distinguishing files from folders
by MZSanford
in thread Distinguishing files from folders
by Kalimeister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |