in reply to Formatting a number
$ perl -le'$x = 123456789; print qx/printf "%\047d" $x/' 123,456,789 [download]