This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The value from caller doesn't change, so my $pkg = caller;
[perl5.git] / lib / PerlIO.pm
index 3b277d9..60c73bc 100644 (file)
@@ -1,6 +1,6 @@
 package PerlIO;
 
-our $VERSION = '1.02';
+our $VERSION = '1.03';
 
 # Map layer name to package that defines it
 our %alias;
@@ -188,7 +188,7 @@ An example of a possible use might be:
     ...
     binmode($fh,":encoding(...)");  # next chunk is encoded
     ...
-    binmode($fh,":pop");            # back to un-encocded
+    binmode($fh,":pop");            # back to un-encoded
 
 A more elegant (and safer) interface is needed.
 
@@ -317,7 +317,7 @@ B<Implementation details follow, please close your eyes.>
 The arguments to layers are by default returned in parenthesis after
 the name of the layer, and certain layers (like C<utf8>) are not real
 layers but instead flags on real layers: to get all of these returned
-separately use the optional C<separate> argument:
+separately use the optional C<details> argument:
 
    my @layer_and_args_and_flags = PerlIO::get_layers($fh, details => 1);