#!usr/bin/perl -w if( -e "www.yahoo.com") { print "exists\n"; } else { print "doesn't\n"; }