Help for this page
perl -MErrno=ENOENT -le' $found = -e shift; die("stat: $!\n") if !defined($found) && $! != ENOENT; print($found ? "found" : "not found"); ' file