diff --git a/doc/Language/5to6-nutshell.pod b/doc/Language/5to6-nutshell.pod index 9d1d5d00c..90d3bb6f0 100644 --- a/doc/Language/5to6-nutshell.pod +++ b/doc/Language/5to6-nutshell.pod @@ -969,7 +969,7 @@ denominator is limited to C<2**64>, after which it will automatically upgrade to C to preserve performance). If you want a C with an arbitrary-precision denominator, C is available. -=head3 C +=head3 X> In Perl 6, C is a declarator for variables, just like C, except the variable is permanently locked to the result of its diff --git a/doc/Language/nativecall.pod b/doc/Language/nativecall.pod index f31742961..1e61be4c5 100644 --- a/doc/Language/nativecall.pod +++ b/doc/Language/nativecall.pod @@ -379,22 +379,22 @@ The C trait accepts the library name or the full path. sub mysql_affectied_rows( .. ) returns int32 is native(LIBMYSQL); sub bar is native(LIBFOO); -You can also put an incomplete path like './foo', NativeCall will automatically put -the right extension according to the plateform specification. +You can also put an incomplete path like './foo' and NativeCall will automatically put +the right extension according to the platform specification. BE CAREFUL: the C trait and C are evaluated at compile time. Don't write a constant -that depend on dynamic variable like: +that depends on a dynamic variable like: constant LIBMYSQL = %*ENV || 'mysqlclient'; This will keep the value given at compile time. A module will be precompiled and C will -keep the value it get evaluated when the module get precompiled. +keep the value it acquires when the module gets precompiled. =head2 ABI/API Version If you write C NativeCall will search libfoo.so under Unix like system (libfoo.dynlib on Os X, foo.dll on win32). In most modern system it will require you or the user of your module to install -the develepment package because it's recommended to always provide an API/ABI version to a +the development package because it's recommended to always provide an API/ABI version to a shared library, so libfoo.so ends often being a symbolic link provided only by a devel package. To avoid that, the C trait allows you to specify the API/ABI version. It can be a full diff --git a/doc/Language/quoting.pod b/doc/Language/quoting.pod index 13e8b09e3..709a7e1a0 100644 --- a/doc/Language/quoting.pod +++ b/doc/Language/quoting.pod @@ -210,7 +210,7 @@ Again, the output of the external command can be kept in a variable: See also L and L for other ways to execute external commands. -=head2 Heredocs: :to +=head2 X A convenient way to write multi-line string literals are I, which let you choose the delimiter yourself: