if ( $file and -e $file ) { say "yep"; } else { say "nope"; }