Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Code Golf: Four is magic

by duelafn (Vicar)
on Jul 16, 2010 at 00:17 UTC ( #849886=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        #123456789 123456789 123456789 123456789 123456789 123456789 12345
    +6789 123456789 123456789 123456789_123456789 123456789 123456789 1234
    +56789 123456789 123456789 123456789 123456789 123456789 123456789_123
    +456789 123456789 123456789 123456789 123456789 123456789 
    for f in 0 4 12 99; do
    perl -E'$_=pop;say$z=do{@p=(Thir,Four,Fif,Six,Seven,Eigh,Nine);@n=("",
    +One,Two,Three,Four,Five,@p[3..6],Ten,Eleven,Twelve,map($_.teen,@p),ma
    +p$_.ty,Twen,@p);$n[22]=~s/u//;$n[8].=t;$_?$_<20?$n[$_]:$n[$_/10+18].$
    +n[$_%10]:Zero}," is ",$_=$_-4?length$z:magic,"."until/m/' $f ; \
    echo; done
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849886]
help
Chatterbox?
[marto]: cpanmini get you started ?
[marto]: Err minicpan
[atcroft]: floutenvy: I assume you have looked at this already?
[hippo]: marto++
[atcroft]: floutenvy: I assume you have read this already...?
[atcroft]: (Sorry, all, my connection flapped while I was loading the page, causing a resend.)
[marto]: My to do list contains a companion tool, but at the moment I use minicpan with a basic config file, tar up the output and transfer it to the secure network

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-08-17 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (181 votes). Check out past polls.

    Notices?