summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2003-05-14 08:36:23 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-18 21:40:10 +0000
commit6ec4bd10d4541458cd84a1df72dd948b519e53e9 (patch)
treeab2b08c81dda3e7207b9abe38537db06eaf80fd3 /pod/perltrap.pod
parent03e631dff4f83fdf5854310840462c567db01041 (diff)
downloadperl-6ec4bd10d4541458cd84a1df72dd948b519e53e9.tar.gz
Re: [PATCH pod/perlsyn.pod pod/perltrap.pod] Unseding perlsyn
Message-ID: <20030514223623.GD23350@windhund.schwern.org> p4raw-id: //depot/perl@19558
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod13
1 files changed, 7 insertions, 6 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 835f879949..48a886a5f5 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -143,9 +143,9 @@ gives you.
=back
-=head2 C Traps
+=head2 C/C++ Traps
-Cerebral C programmers should take note of the following:
+Cerebral C and C++ programmers should take note of the following:
=over 4
@@ -159,13 +159,14 @@ You must use C<elsif> rather than C<else if>.
=item *
-The C<break> and C<continue> keywords from C become in
-Perl C<last> and C<next>, respectively.
-Unlike in C, these do I<not> work within a C<do { } while> construct.
+The C<break> and C<continue> keywords from C become in Perl C<last>
+and C<next>, respectively. Unlike in C, these do I<not> work within a
+C<do { } while> construct. See L<perlsyn/"Loop Control">.
=item *
-There's no switch statement. (But it's easy to build one on the fly.)
+There's no switch statement. (But it's easy to build one on the fly,
+see L<perlsyn/"Basic BLOCKs and Switch Statements">)
=item *