in reply to Re: File Existence using "-e" not always working
in thread File Existence using "-e" not always working

Exactly.

Looks like "auto mount" behavior. It is common that checking for a file's existence won't trigger the automatic mounting of the remote file system but that trying to read a file will trigger that.

So just trying to open the file, as suggested, will likely also trigger it.

my $exists = do { open my $fh, '<', $db_path };

- tye