summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-01-05 20:18:04 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-01-05 20:28:20 -0800
commit4823829628745e4bd7e9bfe988e1dab5a60224dd (patch)
treeaf108aab63ebc81e1a7da0718a774f2274d0dc77
parent8e15b1894e416f804dd7c3a6a3cd143a628d240e (diff)
downloadperl-4823829628745e4bd7e9bfe988e1dab5a60224dd.tar.gz
Correct links to perlsyn and perlop
-rw-r--r--lib/feature.pm2
-rw-r--r--lib/overload.pm4
-rw-r--r--pod/perlfunc.pod8
-rw-r--r--pod/perlintro.pod2
-rw-r--r--pod/perlsyn.pod2
-rw-r--r--pod/perltrap.pod2
-rwxr-xr-xregen/feature.pl2
7 files changed, 11 insertions, 11 deletions
diff --git a/lib/feature.pm b/lib/feature.pm
index 8dfb7aaf4b..9558f8c39e 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -124,7 +124,7 @@ This feature is available starting with Perl 5.10.
C<use feature 'switch'> tells the compiler to enable the Perl 6
given/when construct.
-See L<perlsyn/"Switch statements"> for details.
+See L<perlsyn/"Switch Statements"> for details.
This feature is available starting with Perl 5.10.
diff --git a/lib/overload.pm b/lib/overload.pm
index b3eac986f8..1b89043304 100644
--- a/lib/overload.pm
+++ b/lib/overload.pm
@@ -519,7 +519,7 @@ This overload was introduced in Perl 5.12.
The key C<"~~"> allows you to override the smart matching logic used by
the C<~~> operator and the switch construct (C<given>/C<when>). See
-L<perlsyn/Switch statements> and L<feature>.
+L<perlsyn/Switch Statements> and L<feature>.
Unusually, the overloaded implementation of the smart match operator
does not get full control of the smart match behaviour.
@@ -543,7 +543,7 @@ so you may see between one and three of these calls instead:
$obj->match(2,0);
$obj->match(3,0);
-Consult the match table in L<perlsyn/"Smart matching in detail"> for
+Consult the match table in L<perlop/"Smartmatch Operator"> for
details of when overloading is invoked.
=item * I<Dereferencing>
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 4ff1cc7ee3..cefccc3b05 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -175,7 +175,7 @@ C<break>, C<continue>, C<default>, C<given>, C<when>
Except for C<continue>, these are available only if you enable the
C<"switch"> feature or use the C<CORE::> prefix.
-See L<feature> and L<perlsyn/"Switch statements">.
+See L<feature> and L<perlsyn/"Switch Statements">.
Alternately, include a C<use v5.10> or later to the current scope. In Perl
5.14 and earlier, C<continue> required the C<"switch"> feature, like the
other keywords.
@@ -1028,7 +1028,7 @@ falls through the current C<when> or C<default> block instead of iterating
a dynamically enclosing C<foreach> or exiting a lexically enclosing C<given>.
In Perl 5.14 and earlier, this form of C<continue> was
only available when the C<"switch"> feature was enabled.
-See L<feature> and L<perlsyn/"Switch statements"> for more
+See L<feature> and L<perlsyn/"Switch Statements"> for more
information.
=item cos EXPR
@@ -2569,7 +2569,7 @@ Only available after Perl 5.10. For example:
}
}
-See L<perlsyn/"Switch statements"> for detailed information.
+See L<perlsyn/"Switch Statements"> for detailed information.
=item glob EXPR
X<glob> X<wildcard> X<filename, expansion> X<expand>
@@ -8381,7 +8381,7 @@ Here are three examples:
}
}
-See L<perlsyn/"Switch statements"> for detailed information.
+See L<perlsyn/"Switch Statements"> for detailed information.
=item write FILEHANDLE
X<write>
diff --git a/pod/perlintro.pod b/pod/perlintro.pod
index 61f0b5401d..d14c6d58cd 100644
--- a/pod/perlintro.pod
+++ b/pod/perlintro.pod
@@ -328,7 +328,7 @@ running the program. Using C<strict> is highly recommended.
Perl has most of the usual conditional and looping constructs. As of Perl
5.10, it even has a case/switch statement (spelled C<given>/C<when>). See
-L<perlsyn/"Switch statements"> for more details.
+L<perlsyn/"Switch Statements"> for more details.
The conditions can be any Perl expression. See the list of operators in
the next section for information on comparison and boolean logic operators,
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index 6fc9dd6d11..88e2ec1233 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -220,7 +220,7 @@ 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.
+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>
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 99e25c8d49..e4fbb23a53 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -171,7 +171,7 @@ C<do { } while> construct. See L<perlsyn/"Loop Control">.
=item *
The switch statement is called C<given/when> and only available in
-perl 5.10 or newer. See L<perlsyn/"Switch statements">.
+perl 5.10 or newer. See L<perlsyn/"Switch Statements">.
=item *
diff --git a/regen/feature.pl b/regen/feature.pl
index 50e0cc0a33..05643d9474 100755
--- a/regen/feature.pl
+++ b/regen/feature.pl
@@ -417,7 +417,7 @@ This feature is available starting with Perl 5.10.
C<use feature 'switch'> tells the compiler to enable the Perl 6
given/when construct.
-See L<perlsyn/"Switch statements"> for details.
+See L<perlsyn/"Switch Statements"> for details.
This feature is available starting with Perl 5.10.