http://www.perlmonks.org?node_id=179909


in reply to My Home Script

The problem is, how can I tell if it's a directory or file.
if (-d $fileFound) { # it's a directory } else { # it's *not* a directory }
Cheers.

-- vek --

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.