For Loop by tails

sub f{$_++>9?"print v".join",v",1..10:"for v$_ = %d to 9
@_  ".f("@_  ")."
@{_}next"}printf f,1

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page