![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: "Commifying" a numberby hiseldl (Priest) |
on Dec 12, 2002 at 16:49 UTC ( #219370=note: print w/replies, xml ) | Need Help?? |
How about a recursive solution? ...no super-hideous while loop there, and no regex compilation either. ;-) The only downside is that this only works for integers. --
In Section
Seekers of Perl Wisdom
|
|