We don't bite newbies here... much | |
PerlMonks |
Re^2: mini-golf: convert integer into list of powers of twoby tobyink (Canon) |
on May 24, 2012 at 12:30 UTC ( [id://972236]=note: print w/replies, xml ) | Need Help?? |
That's 32 by my reckoning... Using the assign-within-grep trick I applied to BrowserUK's solution, it is possible to take it down to 31 though:
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Meditations
|
|