good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Integer to Money formatby chrestomanci (Priest) |
on Jan 20, 2011 at 09:04 UTC ( [id://883269]=note: print w/replies, xml ) | Need Help?? |
Was that a homework question? It looks a bit contrived to do it as a regular expression, when there alternative ways of inserting commas every three digits. For example:
In Section
Seekers of Perl Wisdom
|
|