in reply to Sierpinski Triangle
Here is an alternative solution. This one is a little shorter and strict and warning safe. Also it does not emit an empty first line. I developed it from ideas in previous solutions posted to fwp@perl.org. See golf thread. If the alien golfers take up my challenge, it will be significantly shortened.
$_=$"x((1|1<<(pop||4))-1)."/\\ ";print,s,(?<=\\)..,$&^"\017|",ge,s,$,/\\,while+s+^ ++
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Sierpinski Triangle
by eyepopslikeamosquito (Archbishop) on Aug 20, 2002 at 06:24 UTC |
In Section
Obfuscated Code