summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorMoritz Lenz <moritz@faui2k3.org>2009-07-15 16:53:37 +0200
committerVincent Pit <perl@profvince.com>2009-07-15 16:56:38 +0200
commitcabc01fc4ad269039c414204199dbe27ea8309c1 (patch)
tree65d08fa17ebe184a59c80e8a6659e7ed62054c76 /pod/perltrap.pod
parent32a73b0d97778156d30431c9e1bcd9acbf0acd20 (diff)
downloadperl-cabc01fc4ad269039c414204199dbe27ea8309c1.tar.gz
document given/when in perltrap
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 3da025402f..b5f0935166 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -170,8 +170,8 @@ 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,
-see L<perlsyn/"Basic BLOCKs and Switch Statements">)
+The switch statement is called C<given/when> and only available in
+perl 5.10 or newer. See L<perlsyn/"Switch statements">.
=item *