while (1) { print "foo"; } # or you can write for (;;) { print "foo" }