Slight trick to get rid of the join.
| perl -e '$,=" ";print map(sprintf("%03u",$_),2..20),"\n"' |
Saves 1 char. I feel special!
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
In reply to Re: (Golf) Friday Golf: Print Formatted Sequence of Digits
by hardburn
in thread (Golf) Friday Golf: Print Formatted Sequence of Digits
by enoch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |