--Howdy all: --I *DO* want to replace every occurance of each value in the last column with a zero before it ... not just a single diget.
-X > -----Original Message----- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > > > > -----Original Message----- > > From: Adam Turoff [mailto:[EMAIL PROTECTED]] > > ... > > s/(\d+)$/sprintf("%02d", $1)/e; > > That doesn't change 23 to 023. Why not just: > > s/(\d+)$/0$1/; Oh crap. Ignore that. Didn't read carefully enough that he didn't want to change 23 to 023. Sorry about that.