APM: Question: breaking up a numeric variable

ezra ezra at jdba.org
Thu Sep 26 13:53:48 CDT 2002


it's in the camel book somewhere....

1 while $x =~ s!(.*\d)(\d{3})!$1,$2!;

cheers.

================================================================
Ezra Pagel                              Software Engineer
Perl/Java/Oracle                        ezra at jdba.org
Austin Logistics, Inc.                  epagel at austinlogistics.com
Austin, Texas                           (512)-651-5644




More information about the Austin mailing list