perl-Filter .bak files

Michael Schwendt fedora at wir-sind-cool.org
Tue Sep 28 20:12:31 UTC 2004


On Tue, 28 Sep 2004 11:38:18 -0700 (PDT), Steve G wrote:

> Hi,
> 
> I don't do much with perl....so I'm looking for a second opinion. I was looking
> at the perl-Filter rpm and did a rpm -qpl and saw this:
> 
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Filter/cpp.pm
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Filter/cpp.pm.bak
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Filter/exec.pm
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Filter/exec.pm.bak
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Filter/sh.pm
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Filter/sh.pm.bak
> 
> Are these .bak files supposed to be there? diff'ing them with the non-bak file
> shows no difference. Is there any valid use for these files?

None. They are not needed and can be deleted. They are just backup
files created by Makefile.PL, which enables/disables the "use warnings"
pragma in dependence on the Perl version. This is one patch how to get
rid of them:


diff -Nur Filter-1.30-orig/Makefile.PL Filter-1.30/Makefile.PL
--- Filter-1.30-orig/Makefile.PL	2003-08-16 16:25:36.000000000 +0200
+++ Filter-1.30/Makefile.PL	2004-09-28 22:06:08.638264600 +0200
@@ -42,10 +42,10 @@
              t/tee.t         
            );
              
-if ($] < 5.006001)
- { oldWarnings(@files) }
-else
- { newWarnings(@files) }     
+#if ($] < 5.006001)
+# { oldWarnings(@files) }
+#else
+# { newWarnings(@files) }     
              
 
 WriteMakefile(





-- 
Fedora Core release 2.91 (FC3 Test 2) - Linux 2.6.8-1.541
loadavg: 1.68 1.67 1.33
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Filter-1.30-rmbak.patch
Type: application/octet-stream
Size: 480 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20040928/2e119540/attachment.obj 


More information about the test mailing list