$ perl -e '$s = join("", (("") x 160_000)); print "ok\n" if $s =~ /^(?:)+$/' ok