in reply to Triangle Golf
I offer, at 118 (not counting newlines):
japhy -- Perl and Regex Hacker
@ARGV='ctriangle.txt';sub n{print " "x(40-$r/2).$x.$\};$/=$w;$_=<>; ($r=length($x.=" $_"))>$=and $==$r,n,$x=''for split;n
japhy -- Perl and Regex Hacker
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Triangle Golf
by koolade (Pilgrim) on Apr 24, 2001 at 23:04 UTC | |
by japhy (Canon) on Apr 24, 2001 at 23:05 UTC |
In Section
Cool Uses for Perl