With the file test operators you can see if it exists, and access various properties; stat can be used to do the same. Note that the -X operators don't produce an error in case the file doesn't exist. Instead, they tend to return undef. stat returns an empty list.
In reply to Re: A file in a directory
by bart
in thread A file in a directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |