Skip to content

Commit 4155d56

Browse files
committed
Minor rewriting related to #2277
1 parent 82e85b5 commit 4155d56

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

doc/Language/5to6-nutshell.pod6

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ foo(3); # /language/functions#index-entry-dispatch_callsame
321321
In Perl 5, the C<*> sigil referred to the GLOB structure that Perl uses to
322322
store non-lexical variables, filehandles, subs, and formats.
323323
324-
(This should not be confused with the Perl 5 built-in C<glob()> function,
325-
which reads filenames from a directory).
324+
N<This should not be confused with the Perl 5 built-in C<glob()> function,
325+
which reads filenames from a directory.>
326326
327327
You are most likely to encounter a GLOB in code written on a early Perl
328328
version that does not support lexical filehandles, when a filehandle needed
@@ -1256,7 +1256,8 @@ tau, pi, e, i; # built-in constants in Perl 6
12561256
12571257
=head3 C<encoding>
12581258
1259-
TODO Allows you to write your script in non-ascii or non-utf8.
1259+
Allows you to write your script in non-ascii or non-utf8. Perl 6 uses, for the
1260+
time being, only utf8 for its scripts.
12601261
12611262
=head3 C<integer>
12621263
@@ -1271,9 +1272,9 @@ say $foo * $bar; # uses native integer multiplication
12711272
12721273
=head3 C<lib>
12731274
1274-
Manipulate where modules are looked up at compile time. The underlying logic
1275-
is B<very> different from Perl 5, but in most cases, C<use lib> in Perl 6
1276-
works the same as in Perl 5.
1275+
Manipulate where modules are looked up at compile time. The underlying logic is
1276+
B<very> different from Perl 5, but in the case you are using a equivalent
1277+
syntax, C<use lib> in Perl 6 works the same as in Perl 5.
12771278
12781279
=head3 C<mro>
12791280
@@ -1370,7 +1371,8 @@ This is now the default behavior.
13701371
13711372
=item C<-S>, C<-T>.
13721373
1373-
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/>.
1374+
This has been eliminated. Several ways to
1375+
L<replicate "taint" mode are discussed in Reddit|https://www.reddit.com/r/perl6/comments/718z4o/taint_mode_for_perl_6/>.
13741376
13751377
=head1 File-related operations
13761378
@@ -1408,7 +1410,7 @@ the C<lines> method on the result of C<slurp> instead:
14081410
14091411
my @lines = "test-file".IO.slurp.lines; # also auto-chomps
14101412
1411-
=head2 Trapping the standard output of executables.
1413+
=head2 Capturing the standard output of executables.
14121414
14131415
Whereas in Perl 5 you would do:
14141416

0 commit comments

Comments
 (0)