This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
s/byte/bytes/g remnants
authorGurusamy Sarathy <gsar@cpan.org>
Sat, 19 Feb 2000 06:36:46 +0000 (06:36 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sat, 19 Feb 2000 06:36:46 +0000 (06:36 +0000)
p4raw-id: //depot/perl@5134

lib/bytes.pm
lib/bytes_heavy.pl

index 0424e17..e8ab16f 100644 (file)
@@ -1,4 +1,4 @@
-package byte;
+package bytes;
 
 sub import {
     $^H |= 0x00000008;
@@ -9,7 +9,7 @@ sub unimport {
 }
 
 sub AUTOLOAD {
-    require "byte_heavy.pl";
+    require "bytes_heavy.pl";
     goto &$AUTOLOAD;
 }
 
@@ -20,21 +20,21 @@ __END__
 
 =head1 NAME
 
-byte - Perl pragma to force byte semantics rather than character semantics
+bytes - Perl pragma to force byte semantics rather than character semantics
 
 =head1 SYNOPSIS
 
-    use byte;
-    no byte;
+    use bytes;
+    no bytes;
 
 =head1 DESCRIPTION
 
 WARNING: The implementation of Unicode support in Perl is incomplete.
 Expect sudden and unannounced changes!
 
-The C<use byte> pragma disables character semantics for the rest of the
-lexical scope in which it appears.  C<no byte> can be used to reverse
-the effect of C<use byte> within the current lexical scope.
+The C<use bytes> pragma disables character semantics for the rest of the
+lexical scope in which it appears.  C<no bytes> can be used to reverse
+the effect of C<use bytes> within the current lexical scope.
 
 Perl normally assumes character semantics in the presence of
 character data (i.e. data that has come from a source that has
index ec05585..47bdbf9 100644 (file)
@@ -1,7 +1,7 @@
-package byte;
+package bytes;
 
 sub length ($) {
-    BEGIN { byte::import() }
+    BEGIN { bytes::import() }
     return CORE::length($_[0]);
 }