* How can I output my numbers with commas added? + Mentioned Number::Format, which is locale aware
Index: perlfaq5.pod =================================================================== RCS file: /cvs/public/perlfaq/perlfaq5.pod,v retrieving revision 1.36 diff -u -d -b -r1.36 perlfaq5.pod --- perlfaq5.pod 22 Apr 2005 19:04:48 -0000 1.36 +++ perlfaq5.pod 22 Apr 2005 19:20:56 -0000 @@ -339,6 +339,13 @@ =head2 How can I output my numbers with commas added? +(contributed by brian d foy and Benjamin Goldberg) + +You can use L<Number::Format> to separate places in a number. +It handles locale information for those of you want to insert +full stops instead (or anything else that they want to use, +really). + This subroutine will add commas to your number: sub commify { -- brian d foy, [EMAIL PROTECTED]