summaryrefslogtreecommitdiff
path: root/lib/integer.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-04 21:55:03 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-04 21:55:03 +0000
commitd5448623582779336009dd8bafd91e2a4ca7c599 (patch)
tree8c44a139ca3d1e950415b5229fd41ee183f96f20 /lib/integer.pm
parentc0961f019733ac906a65ac3bd8f2f21194179c1e (diff)
downloadperl-d5448623582779336009dd8bafd91e2a4ca7c599.tar.gz
make hints available via globals in the respective pragmas to
avoid duplicating the constants everywhere p4raw-id: //depot/perl@5527
Diffstat (limited to 'lib/integer.pm')
-rw-r--r--lib/integer.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/integer.pm b/lib/integer.pm
index f6be58a0eb..86afcaf130 100644
--- a/lib/integer.pm
+++ b/lib/integer.pm
@@ -43,12 +43,14 @@ See L<perlmod/Pragmatic Modules>.
=cut
+$integer::hint_bits = 0x1;
+
sub import {
- $^H |= 1;
+ $^H |= $integer::hint_bits;
}
sub unimport {
- $^H &= ~1;
+ $^H &= ~$integer::hint_bits;
}
1;