On Thu, 12 Jun 2003, Richard Evans wrote: > a) If you're using the DateTime::Locale namespace: > > DateTime::Locale->register_locale(de_DE_RIDAS1 => > 'deu_DE_RIDAS1', > 'ger_DE_RIDAS1', > 'German_Germany_Ridas custom 1', > 'Deutsch_Deutschland_Ridas custom 1');
I think it'd be nice to make these named parameters, since there's lots of them and just looking at them doesn't make it obvious what they are. > 3) [Optional] Make your registrations permanent > > Create DateTime::Locale::CustomInstall.pm, and register your locales in the > import() method. These locales will be automatically registered whenever > DateTime::Locale is used: Don't worry about doing this right now. For now, people can make their own custom module and load it themselves. Let's see how people end up using these modules before adding too many ways to do the same thing to the code. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
