On Wed, Apr 17, 2013 at 10:24 PM, Brandon McCaig <bamcc...@gmail.com> wrote:

> On Thu, Apr 18, 2013 at 01:00:38AM +0100, Ricardo Pais Oliveira wrote:
> > Hi!
>
> Hello,
>
> > I'm using DateTime::TimeZone to get my current time. Shouldn't daylight
> > saving time be handled by the DateTime module?
> >
> > In $date I'm obtaining the time with less an hour than it should so I
> > believe DST is not being considered. How can I obtain the current time
> > regardless it's in DST mode or not?
> >
> > Here's my script:
> >
> >  use 5.14.2;
> >  use warnings;
>
> Using the warnings pragma is good! You should also use the strict
> pragma:
>
> use strict;
>
>
This is not needed. Since 5.14, 'use VERSION' automatically enables strict.

Reply via email to