|
|
| Think about Loose Coupling | |
| PerlMonks |
Simpler Section Numbersby chip (Curate) |
| on Jul 28, 2000 at 22:34 UTC ( #24963=note: print w/ replies, xml ) | Need Help?? |
|
You simplified it a lot by dropping $maxdigs. It's a fair cop, but society's to blame. I appreciate your final no-hash sprintf approach, but modifying temp values in a grep gives me the screaming heebie-jeebies, you know what I mean? I'd much rather use map for that sort of thing. But I can't argue with the fact that it works.... And my Rule #0 is, ``Anything that works is better than anything that doesn't.'' -- Chip Salzenberg, Free-Floating Agent of Chaos PS: Thanks for the welcome. This is a neat site.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||