summaryrefslogtreecommitdiff
path: root/ext/Errno/Errno_pm.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Errno/Errno_pm.PL')
-rw-r--r--ext/Errno/Errno_pm.PL3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 5621abdfc7..5725de86ee 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -406,8 +406,7 @@ sub STORE {
Carp::confess("ERRNO hash is read only!");
}
-*CLEAR = \&STORE;
-*DELETE = \&STORE;
+*CLEAR = *DELETE = \*STORE; # Typeglob aliasing uses less space
sub NEXTKEY {
each %err;