From 3c4b39bee8832007b7e91bfce8701d34cacab411 Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Sun, 31 Jul 2005 14:50:04 +0200 Subject: Typos in *.p[lm] From: "Piotr Fusik" Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261 --- lib/Switch.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Switch.pm') diff --git a/lib/Switch.pm b/lib/Switch.pm index 646e7cef65..4b1b3e27f3 100644 --- a/lib/Switch.pm +++ b/lib/Switch.pm @@ -681,7 +681,7 @@ Fall-though (trying another case after one has already succeeded) is usually a Bad Idea in a switch statement. However, this is Perl, not a police state, so there I a way to do it, if you must. -If a C block executes an untargetted C, control is +If a C block executes an untargeted C, control is immediately transferred to the statement I the C statement (i.e. usually another case), rather than out of the surrounding C block. @@ -713,7 +713,7 @@ For example: case /\d/ { handle_dig_any(); } } -If an untargetted C statement is executed in a case block, this +If an untargeted C statement is executed in a case block, this immediately transfers control out of the enclosing C block (in other words, there is an implicit C at the end of each normal C block). Thus the previous example could also have been -- cgit v1.2.1