Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Pascal-Sierpinski for golfers

by eyepopslikeamosquito (Archbishop)
on Nov 29, 2011 at 21:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://940700]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-16 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found