in reply to If/else problems

As a veteran (the hard way) of using Date::Manip, I can't stress it's use enough in manipulating the date-time continuum (sp). Although, this doesn't answer your question, it will allow you to clean up your code. Do a perldoc on that mod and check it out. I think that you will find it's uses very cool.

Paulster2