summaryrefslogtreecommitdiffstats
path: root/MDK/Common/Func.pm
diff options
context:
space:
mode:
Diffstat (limited to 'MDK/Common/Func.pm')
-rw-r--r--MDK/Common/Func.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/Func.pm b/MDK/Common/Func.pm
index 7f1a926..e954a0b 100644
--- a/MDK/Common/Func.pm
+++ b/MDK/Common/Func.pm
@@ -322,7 +322,7 @@ sub cdie {
my ($err) = @_;
foreach (@MDK::Common::Func::cdie_catches) {
$@ = $err;
- if (my $v = &{$_}(\$err)) {
+ if (my $v = $_->(\$err)) {
return $v;
}
}