in reply to (Golf) Friday Golf: Print Formatted Sequence of Digits
echo '"000" .. "020"' | perl -ple '@f=eval;$_="@f"'
Between the quotes, I'm at 14. Woo-hoo! *laughs*
------
We are the carpenters and bricklayers of the Information Age.
The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (Golf) Friday Golf: Print Formatted Sequence of Digits
by Aristotle (Chancellor) on Aug 14, 2003 at 20:22 UTC |