Re: questions about DateTime::Locale internal structure

2005-07-24 Thread Daisuke Maki
Joshua Hoblitt wrote: > On Sun, Jul 24, 2005 at 02:30:54PM +0900, Daisuke Maki wrote: > >> - Is there any reason why the locales are not singletons? > > > None that I can think of. > > >> - Can I make them singleton? > > > Locale objects are cached during 'load' so that the same object may

Re: questions about DateTime::Locale internal structure

2005-07-24 Thread Joshua Hoblitt
On Sun, Jul 24, 2005 at 02:30:54PM +0900, Daisuke Maki wrote: > - Is there any reason why the locales are not singletons? None that I can think of. > - Can I make them singleton? Locale objects are cached during 'load' so that the same object may be shared between multiple DTs. This cache g