print "is directory" if -d "/foo/bar";