in reply to Time::Local and warnings

But still, only on Windows. So I think I've found a bug. In Time::Local or localtime, I'm not sure. Not really relevant now - I just need to solve this.
Don't use the -w switch, use warnings; instead.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: Time::Local and warnings
by deibyz (Hermit) on Aug 05, 2005 at 11:18 UTC
    Don't use the -w switch, use warnings; instead.

    Only curiosity: Why? Is there any major difference or anything that can bit me in the worst moment?

    I use to put the -w switch so, if I don't use anything "new", I can run on both 5.8.x and 5.005 (default Solaris perl)

      Why? So you only get warnings from code you write, not Time::Local.

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.