Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Re: Triangle Golf

by petral (Curate)
on Apr 26, 2001 at 21:27 UTC ( #75832=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -ln0e's/\s+/ /g;print$"x(40-($c=2+length$&)/2),$&while/.{0$c,}? |
    +.+/g' a.txt w.txt
                                          a 
    ...
                          words only on spaces or new lines 
                        a a a a a a a a a a a a a a a a a a a 
                           a a a a a a a a a a a a a a a a 
    
  2. or download this
    print($"x(40-($c=2+length$&)/2),$&),$c*=($c<80)while...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75832]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-11-27 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (183 votes), past polls