Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Time::Local and warnings

by deibyz (Hermit)
on Aug 05, 2005 at 11:18 UTC ( [id://481194]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://481194]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-18 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found