print "foo\n"; die "oops" if rand>0.7; print "bar\n";