http://www.perlmonks.org?node_id=1035925


in reply to Formating numbers with thousand separator - Solution for web-applications

See also How can I output my numbers with commas added? from the perl FAQ which you can search with:

perldoc -q commas