http://qs321.pair.com?node_id=418010

McMahon has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks...

I've been reading Date::Calc and Date::Manip and I've become more confused than when I started. I want to convert a localtime date like so:

Wed Dec 29 08:17:04 (localtime value)
to a different format like so:
 04-12-29_08:17:04
I would appreciate any suggestions as to the most efficient and readable way to do this.