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


in reply to Re^2: How to check if a date exists ?
in thread How to check if a date exists ?

You need a format, like "%Y%m%d" as the second parameter to strptime (I left that out in my earlier code, so my fault).