in reply to Triangle Golf
Works not on words, but 114 char:
Update: Most of this is just an adaption of the other code in this nice thread, including the $". I like xterm's idea of map{split}<> very much I must say. But the '$,' was my own creativity....
"We are not alone"(FZ)@ARGV="ctriangle.txt"; sub n{print$"x(40-$r),@b,$/} @a=map{split}<>;$,=$";while($r++<@a){@b=splice@a,0,$r;n}$r--,n
Update: Most of this is just an adaption of the other code in this nice thread, including the $". I like xterm's idea of map{split}<> very much I must say. But the '$,' was my own creativity....
In Section
Cool Uses for Perl