diff options
author | David Mitchell <davem@iabyn.com> | 2010-02-22 15:25:16 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-02-22 15:25:16 +0000 |
commit | a515200d681686a605e69620572e93eba2acd0a4 (patch) | |
tree | a8ff29649a03eb9d67891b06db8cd1cbdb7d459f /lib/bytes.pm | |
parent | 915f085e266692925ab67192c748f693c8c96c34 (diff) | |
download | perl-a515200d681686a605e69620572e93eba2acd0a4.tar.gz |
deprecate bytes.pm
Diffstat (limited to 'lib/bytes.pm')
-rw-r--r-- | lib/bytes.pm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/bytes.pm b/lib/bytes.pm index b7fabbf359..31294cb9b2 100644 --- a/lib/bytes.pm +++ b/lib/bytes.pm @@ -1,6 +1,6 @@ package bytes; -our $VERSION = '1.03'; +our $VERSION = '1.04'; $bytes::hint_bits = 0x00000008; @@ -33,6 +33,18 @@ __END__ bytes - Perl pragma to force byte semantics rather than character semantics +=head1 DEPRECATED + +This pragma reflects early attempts to incorporate Unicode into perl and +has since been superceded. It breaks encapulation (i.e. it exposes the +innards of how perl happens to be currently storing a string), and use of +this module for anything other than debugging purposes is strongly +discouraged. If you feel that the functions here within might be useful +for your application, this possibly indicates a mismatch beteen your +mental model of Perl Unicode and the current reality. In that case, you +wish to peruse some of the perl Unicode documentation: L<perluniintro>, +L<perlunitut>, L<perlunifaq> and L<perlunicode>. + =head1 SYNOPSIS use bytes; |