Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Monk DNA

by Jasper (Chaplain)
on Oct 08, 2002 at 15:37 UTC ( #203673=note: print w/ replies, xml ) Need Help??


in reply to Monk DNA

I prefer my dna dynamically generated :)

#!perl $a=S->n;$b=S->n;while($t<2e3){@o=();$a->g,$b->g for 0..200; @o[$a->g,$b->g,30]=($a->l,$b->l,$/);print map$_||++$t&&$",@o }package S;sub n{bless{v=>"-"x$n++.25},pop}sub g{$s=pop;15+ int($s->{p}+=($s->{v}+=$s->a)/1000)/$n}sub a{-$_[0]->{p}/1000 }sub l{(perlmonks=~/./g)[$_[0]->{i}*=++$_[0]->{i}>8?0:1]}
Jasper


Comment on Re: Monk DNA
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-08-22 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls