develooper Front page | perl.datetime | Postings from November 2010

Re: DefaultFormatter for DateTime

Thread Previous
From:
Zefram
Date:
November 25, 2010 06:05
Subject:
Re: DefaultFormatter for DateTime
Message ID:
20101125140538.GB24999@lake.fysh.org
pp wrote:
>There is DefaultLocale in DateTime so I've thought that
>that door is already opened.

I wasn't aware of that one, but it doesn't excuse adding another global.

>If You do not like global variables make it class function as  
>DefaultLocale already is.

I'm not objecting to the interface, I'm objecting to the semantics.

-zefram

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About