Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Sierpinski Triangle

by eyepopslikeamosquito (Chancellor)
on Aug 21, 2002 at 12:36 UTC ( #191708=note: print w/replies, xml ) Need Help??


in reply to Sierpinski Triangle

Still going! Though not shortest, I find this one amusing for some reason. Oh, and I have given it a name: "five substitutions".

#!perl -l s--$"x$^F**pop-e,s-.-s,,,,s,$,/\\,,print,s,(?<=/.)..,$&^h9^gE,ge-ge

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://191708]
help
Chatterbox?
and the grasshoppers chirp...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-04-30 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (542 votes). Check out past polls.