Very, very nice++
It'd never occurred to me to assign to $_ in grep, but it deals perfectly with the duplication in my attempt. I can see me using that in the future.
In reply to Re^2: mini-golf: convert integer into list of powers of two
by BrowserUk
in thread mini-golf: convert integer into list of powers of two
by xyzzy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |