That is way cool!
I don't think I'm spoiling it by showing the end result, because the best part is watching it get there!
It gives:
(@e)}fo
r($xp ++){@camel=
2@me},9. .12);$xp=('0,
'x7).('1,' x16).('2,'x22).(
'3,'x27).('4,'x27).('5,'x29
).('6,'x31).('7,'x31).('8,'x
31).('9,'x30).('10,'x27).('11,'
x26).('12,'x16).('13,'x9).('14,
'x7).('15,'x7).('16,'x5).('17,
'x6).('18,'x7).('19,'x10).('20
,'x3).'20';@xp=split(/,/ ,$
xp );@e=(e),@e=_(@e),pc(@e)
,sele ct$,, $,,$,,
3;for (1..
64) {@e
=_( @e),
pc( @e
),I ,se
lec t$,,
$,,$, ,.05;
@e=c
I particularly like
for($xp++){@camel=@me}
I've ran out of votes today I'm afraid ;-)
Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.