Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Pascal-Sierpinski for golfers

by eyepopslikeamosquito (Canon)
on Nov 29, 2011 at 21:18 UTC ( #940700=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/^|\d+/$&+$'||1/eg,print,s// /for($/)x16
    
  2. or download this
    s/^/1 /,print,s/\d+/$&+$'/egfor($/)x16
    
  3. or download this
    #!perl -l
    s/^/1 /,print,s/\d+/$&+$'/eguntil/08/
    ...
    1while s/^/1 /,print,s/\d+/$&+$'/eg^16
    {s/^/1 /,print,s/\d+/$&+$'/eg^16&&redo}
    eval's/^/1 /;print;s/\d+/$&+$\'/eg;'x16
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940700]
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-12-25 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (162 votes), past polls