--On Friday, September 26, 2003 20:29 -0400 David Wall <[EMAIL PROTECTED]> wrote:
In the book I bought, Programming Perl, by O'Reilly they say I should use warnings instead of -w after the shebang and the perl path because -w is deprecated.
Is this true? Also, will use warnings; work on versions of perl < 5.8?
My copy of the Camel is at work, but if it says -w is deprecated, I'm inclined to believe it. :-)
Just checked my copies of both the Camel and the Lama. Both say 'use warnings' is preferred over '-w' because it gives finer grained control. Neither, as far as I can tell, says that '-w' is actually deprecated.
Daniel T. Staal
--------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]