Subject: | Date::Parse is able to parse ludicrous dates |
Looking at the documentation I have no idea why this program works, or
what the value is that it prints out. A parser should do syntax
checking and not make undocumented assumptions.
#!/usr/bin/perl
use Date::Parse;
$time = str2time('1');
print "$time\n";