File tests 

if ( $path->exists )  { ... }

if ( $path->is_file ) { ... }

if ( $path->is_dir )  { ... }

my $stat = $path->stat;
my $mode  = $path->stat->mode;
my $mtime = $path->stat->mtime;
my $size  = $path->stat->size;

if ( -x $path ) { ... }