diff options
author | Lukas Mai <l.mai@web.de> | 2016-06-11 11:42:46 +0200 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2016-06-11 11:42:46 +0200 |
commit | 88bd7502bf4d3b88554da76bf1126e98dbacd997 (patch) | |
tree | d081b774fee171878172da2be9e71c3c4962ea4b /pod/perlsyn.pod | |
parent | 0bf54b1ecaec8f6d80845d6cb77d62f8c9f4c415 (diff) | |
download | perl-88bd7502bf4d3b88554da76bf1126e98dbacd997.tar.gz |
perlsyn: remove deprecated L<"section"> syntax
... and fix a typo.
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r-- | pod/perlsyn.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 09cfd13b98..a5e075d9c2 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -231,8 +231,8 @@ a C<next> from inside a C<foreach> and C<break> from inside a C<given>. Under the current implementation, the C<foreach> loop can be anywhere within the C<when> modifier's dynamic scope, but must be -within the C<given> block's lexical scope. This restricted may -be relaxed in a future release. See L<"Switch Statements"> below. +within the C<given> block's lexical scope. This restriction may +be relaxed in a future release. See L</"Switch Statements"> below. =head2 Compound Statements X<statement, compound> X<block> X<bracket, curly> X<curly bracket> X<brace> @@ -411,7 +411,7 @@ they aren't loops. You can double the braces to make them such, though. }} This is caused by the fact that a block by itself acts as a loop that -executes once, see L<"Basic BLOCKs">. +executes once, see L</"Basic BLOCKs">. The form C<while/if BLOCK BLOCK>, available in Perl 4, is no longer available. Replace any occurrence of C<if BLOCK> by C<if (do BLOCK)>. |