On Tue, 06 Jul 2004 20:18:53 +0200, Gunnar Hjalmarsson wrote > > But if you want to ensure that warnings is enabled, the equivalent of > using the -w switch is to give the $^W variable a true value. Note > that unlike "use warnings;", this enables warnings dynamically, not > lexically.
Hi Gunnar, For modules, can I just put this after the package declaration, or do I have to put it in each subroutine? $^W = 1; Thanks, -John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>