[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Omaha.pm] Subclassing Class::Date
I subclassed Class::Date to bend it slightly to my own evil purposes today. Man that's cool software!
http://search.cpan.org/~dlux/Class-Date-1.1.7/Date.pod
Mainly I'm
- Overriding the constructor to make it a 1-liner instead of a 2-liner
- and to interpret some specific datetime formats "the Omni way" instead of a sensible way. -grin-
- Added a format() method to reduce a formatted string() call from a 2-liner to a 1-liner.
Thanks for the awesome software, dLux!
j