in reply to Formatting number
or look at perlfaq5 and search for "How can I output my numbers with commas added?"