Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor rewriting related to #2277
  • Loading branch information
JJ committed Oct 7, 2018
1 parent 82e85b5 commit 4155d56
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions doc/Language/5to6-nutshell.pod6
Expand Up @@ -321,8 +321,8 @@ foo(3); # /language/functions#index-entry-dispatch_callsame
In Perl 5, the C<*> sigil referred to the GLOB structure that Perl uses to
store non-lexical variables, filehandles, subs, and formats.
(This should not be confused with the Perl 5 built-in C<glob()> function,
which reads filenames from a directory).
N<This should not be confused with the Perl 5 built-in C<glob()> function,
which reads filenames from a directory.>
You are most likely to encounter a GLOB in code written on a early Perl
version that does not support lexical filehandles, when a filehandle needed
Expand Down Expand Up @@ -1256,7 +1256,8 @@ tau, pi, e, i; # built-in constants in Perl 6
=head3 C<encoding>
TODO Allows you to write your script in non-ascii or non-utf8.
Allows you to write your script in non-ascii or non-utf8. Perl 6 uses, for the
time being, only utf8 for its scripts.
=head3 C<integer>
Expand All @@ -1271,9 +1272,9 @@ say $foo * $bar; # uses native integer multiplication
=head3 C<lib>
Manipulate where modules are looked up at compile time. The underlying logic
is B<very> different from Perl 5, but in most cases, C<use lib> in Perl 6
works the same as in Perl 5.
Manipulate where modules are looked up at compile time. The underlying logic is
B<very> different from Perl 5, but in the case you are using a equivalent
syntax, C<use lib> in Perl 6 works the same as in Perl 5.
=head3 C<mro>
Expand Down Expand Up @@ -1370,7 +1371,8 @@ This is now the default behavior.
=item C<-S>, C<-T>.
This has been eliminated. Several ways to L<replicate "taint" mode are discussed in Reddit|https://www.reddit.com/r/perl6/comments/718z4o/taint_mode_for_perl_6/>.
This has been eliminated. Several ways to
L<replicate "taint" mode are discussed in Reddit|https://www.reddit.com/r/perl6/comments/718z4o/taint_mode_for_perl_6/>.
=head1 File-related operations
Expand Down Expand Up @@ -1408,7 +1410,7 @@ the C<lines> method on the result of C<slurp> instead:
my @lines = "test-file".IO.slurp.lines; # also auto-chomps
=head2 Trapping the standard output of executables.
=head2 Capturing the standard output of executables.
Whereas in Perl 5 you would do:
Expand Down

0 comments on commit 4155d56

Please sign in to comment.