Nice! I particularly like the $%%$_ construct. But why so verbose?
1:49 >perl -wE"$%%$_||say for 1..($%=pop)" 36 1 2 3 4 6 9 12 18 36 1:49 >
Ten characters strokes saved. :-)
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^3: Divisors of a number
by Athanasius
in thread Divisors for a number
by rasy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |