From: Kurt Starsinic <kstar@cpan.org>
Date: Tue, 9 Sep 2003 23:16:00 -0400
Message-ID: <
20030910031600.GA30554@verizon.net>
Subject: Re: [PATCH 5.8.1] Unwanted "redefined" warnings in h2ph
From: "Brendan O'Dea" <bod@debian.org>
Date: Wed, 10 Sep 2003 22:03:15 +1000
Message-ID: <
20030910120315.GA1372@londo.c47.org>
p4raw-id: //depot/perl@21159
require '_h2ph_pre.ph';
+no warnings 'redefine';
+
unless(defined(&SQUARE)) {
sub SQUARE {
local($x) = @_;
open(OUT,">$Dest_dir/$outfile") || die "Can't create $outfile: $!\n";
}
- print OUT "require '_h2ph_pre.ph';\n\n";
+ print OUT
+ "require '_h2ph_pre.ph';\n\n",
+ "no warnings 'redefine';\n\n";
while (defined (local $_ = next_line($file))) {
if (s/^\s*\#\s*//) {