>From: Jim Trocki [mailto:[EMAIL PROTECTED]] > >yeah, well -w carps on this: > > my %h; > > die if ($h{"stuff"} ne "" ); > >there's nothing wrong with that code, imo. however, to make -w >happy, you have to re-write it like this:
I only write fairly simple Perl scripts on occasion, but for these cases wouldn't $^W = 0; <ok code which -w complains about> $^W = 1; be the way to go rather then not using -w, or is there some reason not to use the $^W feature to turn off the -w check for small code sections? -------------------------- John C. Ring, Jr. [EMAIL PROTECTED] Web and Network Technologies Specialist Union Switch & Signal Inc. _______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon