or look at perlfaq5 and search for "How can I output my numbers with commas added?"
In reply to Re: Formatting number by jsprat in thread Formatting number by nipper