From 33435d89e438c7d3c7b229f3def84f491f630b3d Mon Sep 17 00:00:00 2001 From: Bill Fenner <> Date: Wed, 5 Apr 2006 03:59:58 +0000 Subject: [PATCH] Allow calls to orig_foo, load_orig_foo, set_orig_foo to be able to call a FUNC that you've overloaded with a function. --- Info.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Info.pm b/Info.pm index 8e1f47fb..ce2ed572 100644 --- a/Info.pm +++ b/Info.pm @@ -2606,6 +2606,7 @@ sub AUTOLOAD { my $attr = $sub_name; $attr =~ s/^(load|set)_//; + $attr =~ s/^orig_//; # Let's use the %GLOBALS and %FUNCS from the class that # inherited us.