Subject: | Events_List in DM6 complains if date isn't in an event |
If you pass Events_List() a date that isn't covered by one of the events in the config file, it complains:
WARNING: [cmp] Arguments must be valid dates: date2
Use of uninitialized value in integer ne (!=) at /Library/Perl/5.12/Date/Manip/Date.pm line 4550.
Can't call method "cmp" on an undefined value at /Library/Perl/5.12/Date/Manip/Date.pm line 4563.
Run the attached test script against the attached DateManip.cnf to see the problem. Change the hardcoded date string in the test script to 'Dec 30' to see that the warning goes away.
This problem does not happen in DM5 under Perl 5.8.8. (This is why I'm still using the non-OO interface, by the way.)
Subject: | DateManip.cnf |
Message body not shown because it is not plain text.
Subject: | test |
Message body not shown because it is not plain text.