in reply to Re^2: Pascal-Sierpinski for golfers
in thread Pascal-Sierpinski for golfers
I really appreciate two tricks:
- s// /
I understand this, and have used the empty expression before with m//, but never thought to try it with s///.
A slick way of getting the newline (vis-à-vis -l print until...)!
Changing the loop to for($_)x16 is informative.
And, since a bare print prints both $_ and $/, I found it rather unobvious which variable holds the strings.