summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm
blob: c78ba178388310a62f767a0e7186e073ce3eba07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- Extra.pm.orig	Sat Dec 30 18:10:06 2000
+++ Extra.pm	Sat Dec 30 18:26:45 2000
@@ -31,6 +31,9 @@
 
 our $debug = 1;
 
+# kill the previous Text::FixedLength::getFixed to avoid
+# the warning of redefinition
+BEGIN { delete $Text::FixedLength::{getFixed}; }
 
 # Preloaded methods go here.
 # ----------------------------------------------------------------------------