summaryrefslogtreecommitdiff
path: root/lib/unicode/distinct.pm
blob: 6471ac8d84d2417e09fdb4c49f87fc7450281569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package unicode:distinct;

our $VERSION = '0.01';

$unicode::distinct::hint_bits = 0x01000000;

sub import {
    $^H |= $unicode::distinct::hint_bits;
}

sub unimport {
    $^H &= ~$unicode::distinct::hint_bits;
}

1;
__END__

=head1 NAME

unicode::distinct - Perl pragma to strictly distinguish UTF8 data and non-UTF data.

=head1 SYNOPSIS

    use unicode::distinct;
    no unicode::distinct;

=head1 DESCRIPTION

 *NOT YET*

=head1 SEE ALSO

L<perlunicode>, L<utf8>

=cut