File::Spec 0.82 beta
[p5sagit/p5-mst-13.2.git] / lib / utf8.pm
index d9e9bec..17ec37b 100644 (file)
@@ -1,12 +1,14 @@
 package utf8;
 
+$utf8::hint_bits = 0x00800000;
+
 sub import {
-    $^H |= 0x00800000;
+    $^H |= $utf8::hint_bits;
     $enc{caller()} = $_[1] if $_[1];
 }
 
 sub unimport {
-    $^H &= ~0x00800000;
+    $^H &= ~$utf8::hint_bits;
 }
 
 sub AUTOLOAD {
@@ -29,7 +31,7 @@ utf8 - Perl pragma to enable/disable UTF-8 in source code
 =head1 DESCRIPTION
 
 WARNING: The implementation of Unicode support in Perl is incomplete.
-Expect sudden and unannounced changes!
+See L<perlunicode> for the exact details.
 
 The C<use utf8> pragma tells the Perl parser to allow UTF-8 in the
 program text in the current lexical scope.  The C<no utf8> pragma
@@ -70,6 +72,6 @@ of byte semantics.
 
 =head1 SEE ALSO
 
-L<perlunicode>, L<byte>
+L<perlunicode>, L<bytes>
 
 =cut