http://qs1969.pair.com?node_id=537601

ralphch has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I've got a script that will read some folder paths into an array and then index the filenames in each folder in a table. However, I would like to first check if the folder is actually a symbolic link to a physical directory, in order to avoid duplicate entries for the same files.

Is there a way to check if a folder is a symbolic link?

Thanks,
Ralph