i need to be able to tell wether a listed file is a directory or normal file... example of what i mean: in any shell when you do ls -l it outputs a list... on the leftmost column is the file mode... -rwx-r--r-- file name yadda yadda drwx-r--r-- directory name yadda yadda i need to be able to know the difference within perl...