diff --git a/doc/Language/5to6-nutshell.pod6 b/doc/Language/5to6-nutshell.pod6 index d5121f214..29886234f 100644 --- a/doc/Language/5to6-nutshell.pod6 +++ b/doc/Language/5to6-nutshell.pod6 @@ -42,7 +42,7 @@ an embedded instance of the C interpreter to run Perl 5 code. This is as simple as: -=for code :preamble +=for code :skip-test use Inline::Perl5; use DBI:from; # the :from makes Perl 6 load via Inline::Perl5 my $dbh = DBI.connect(...); @@ -925,6 +925,7 @@ when you don't want another scope: next if $_ % 2 == 1; $str ~= $_; NEXT $str ~= ':'; + } =head1 Functions @@ -1164,7 +1165,7 @@ some you need to specify / load your modules in a particular order, you can create a stub that will be acceptable until the end of compilation: if the stub has not been defined then, compilation will fail. -=for code :preamble +=for code # Perl 6 class Animal { ... } # the ... indicates a stub class Cat is Animal {}