summaryrefslogtreecommitdiff
path: root/lib/integer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/integer.pm')
-rw-r--r--lib/integer.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/integer.pm b/lib/integer.pm
new file mode 100644
index 0000000000..74039bb962
--- /dev/null
+++ b/lib/integer.pm
@@ -0,0 +1,11 @@
+package integer;
+
+sub import {
+ $^H |= 1;
+}
+
+sub unimport {
+ $^H &= ~1;
+}
+
+1;