-X - perldoc.perl.org
-X FILEHANDLE-X EXPR-X DIRHANDLE-X A file test, where X is one of the letters listed below. This unary operator takes one argument, either a filename, a filehandle, or a dirhandle, and tests the associated file to see if something is true about it. If the...