in reply to Re: Time::Local and warnings
in thread Time::Local and warnings

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)

Replies are listed 'Best First'.
Re^3: Time::Local and warnings
by PodMaster (Abbot) on Aug 05, 2005 at 12:51 UTC
    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.