diff options
-rw-r--r-- | pod/perltrap.pod | 4 |
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 * |