http://www.perlmonks.org?node_id=549233


in reply to My code seems messy...

There are so many date formats around the world that it could be easier to us to help you if you post some line examples from your files.