From e36877c8ad3e01c9da902459d29cc22046a60e16 Mon Sep 17 00:00:00 2001 From: chromatic Date: Mon, 19 Apr 2010 19:54:00 -0400 Subject: [PATCH] Replace mention of Switch.pm with given/when --- pod/perlintro.pod | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pod/perlintro.pod b/pod/perlintro.pod index 2f5f85e..c47274b 100644 --- a/pod/perlintro.pod +++ b/pod/perlintro.pod @@ -307,10 +307,9 @@ running the program. Using C is highly recommended. =head2 Conditional and looping constructs -Perl has most of the usual conditional and looping constructs except for -case/switch (but if you really want it, there is a Switch module in Perl -5.8 and newer, and on CPAN. See the section on modules, below, for more -information about modules and CPAN). +Perl has most of the usual conditional and looping constructs. As of Perl +5.10, it even has a case/switch statement (spelled C/C). See +L 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, -- 1.8.3.1