summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm
blob: d18b8ce231ed0097bf52beee035f700bce75492f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- Extra.pm.orig	2001-09-18 13:10:20 UTC
+++ Extra.pm
@@ -31,6 +31,9 @@ our $VERSION = '1.1';
 
 our $debug = 0;
 
+# kill the previous Text::FixedLength::getFixed to avoid
+# the warning of redefinition
+BEGIN { delete $Text::FixedLength::{getFixed}; }
 
 # Preloaded methods go here.
 # ----------------------------------------------------------------------------