in reply to Regular question

See How do I add commas to a number? in the Q&A section. Also see the perlfaq5 item: How can I output my numbers with commas added?