summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm
blob: 890a01d0a59e9f392d82de029bd94a9e467bf1ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- lib/Text/Template.pm.orig	2008-04-16 18:38:08.000000000 -0500
+++ lib/Text/Template.pm	2012-03-17 06:44:14.882739137 -0500
@@ -428,6 +428,8 @@
     foreach my $key (keys %$hash) {
       undef $hash->{$key};
     }
+    %$hash = ();
+    delete $Text::Template::{$s."::"};
   }
 }