print STDERR "prints...\n"; close(STDERR); print STDERR "doesn't print...\n" or print "this was bound to fail\n"; #### open(STDERR,'>/dev/null'); print STDERR "doesn't fail so this..." or print "...won't print";