A bunch of operators are used to check whether files exist, directories exist, files are readable, etc.
-w "./fasta.out" or die "Can't write to file"; print "This file is executable\n" if -x "/usr/bin/perl";