GONZO: (ZUR INFO) angeblicher Y2K Bug in Perl ist keiner

Beitrag lesen

Hallo Forumsleser,

weil es mich nervt, daß hier soviele Leute ihre Programmierfehler mit einem
angeblichen Bug in Perl entschuldigen, poste ich euch mal Auszüge aus
der Doku zu Perl. (perlfunc)

"localtime EXPR

Converts a time as returned by the time function to a 9-element array with the
time analyzed for the local time zone. Typically used as follows:

#  0    1    2     3     4    5     6     7     8
         ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);

[..] Also, $year is the number of years since 1900, that is, $year is 123 in year 2023,
and notsimply the last two digits of the year. If you assume it is, then you create
Y2K-compliant programs--and you wouldn't want to do that, would you?"

Beachtet besonders den den letzten Satz (-:

CYa und ein schönes, gesundes und erfolgreiches Jahr 2000 (das letzte diese Jahrtausends)
GONZO