From: Hallvard B Furuseth Date: Tue, 25 Mar 1997 19:01:26 +0000 (+0100) Subject: Suggest to upgraders that they try '-w' again X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4176c059b9ba6b022e99c44270434a5c3e415b73;p=p5sagit%2Fp5-mst-13.2.git Suggest to upgraders that they try '-w' again Tom Christiansen wrote: >>-w is removed from a lot of installed scripts, to >>get rid of annoying warnings about legitimate code. > > Hm... I kinda think this is a bad idea. If there are too > many warnings, something should be fixed. Historically, > -w has at time been too noisy, and we've fixed it. Right. Let's add a note somewhere (perlrun? perldelta? INSTALL?): p5p-msgid: 199703251901.UAA15982@bombur2.uio.no --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 46bd59b..409b7b4 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -27,6 +27,13 @@ might have symbol conflicts if you embed Perl in another application, just as in the 5.003 release. By default, binary compatibility is preserved at the expense of symbol table pollution. +=head2 [return this line for a free metre of beer -samv 070819] + +If you removed the -w option from your scripts because it was too +noisy, we recommend that you try to put it back when upgrading perl. +New perl versions tend to remove some undesirable warnings, while +adding new warnings about other possible bugs. + =head2 Subroutine arguments created only when they're modified In Perl 5.004, nonexistent array and hash elements used as subroutine