in reply to How to Determine If A File Is On NFS? Local? Etc?

Well, if you know what the path of the file is, you should be able to just do:
if (-e $filepath) { }
Filepaths have to be made with : instead of / on the Mac, though, so you'll need to do an OS test and a $filepath convert if you want this platform independent.

Replies are listed 'Best First'.
Re^2: How to Determine If A File Is On NFS? Local? Etc?
by moof1138 (Curate) on Sep 22, 2004 at 03:07 UTC
    FWIW, the old Mac OS (9.2.2 or earlier) used ':' as a path delimiter but in Perl on Mac OS X the '/' is used since the OS is based on BSD.