Perl whoops. It's default date counts years from 1900. It worked until you hit 2000, where the number is 100 instead of XX. Hence, you get 19100.