On Fri, Feb 01, 2002 at 11:01:35AM +0800, Anthony J. Breeds-Taurima wrote:
> On Thu, 31 Jan 2002, Michael G Schwern wrote:
> 
> > Folks, I'm clawing my eyes out here.  Stop hitting the regex crack pipe!
> 
> the poster asked for a regex solution.

$date =~ s{(.*)}{sprintf '%02d/%02d/%d', split '/', $1}e;


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
GOD made us funky!

Reply via email to