Change 33488 by [EMAIL PROTECTED] on 2008/03/12 10:12:53

        Subject: [PATCH] Correct misleading example in perlsyn.pod 
(given/when/default)
        From: Paul Fenwick <[EMAIL PROTECTED]>
        Date: Wed, 12 Mar 2008 13:19:15 +1100
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/pod/perlsyn.pod#63 edit

Differences ...

==== //depot/perl/pod/perlsyn.pod#63 (text) ====
Index: perl/pod/perlsyn.pod
--- perl/pod/perlsyn.pod#62~32805~      2008-01-02 10:29:14.000000000 -0800
+++ perl/pod/perlsyn.pod        2008-03-12 03:12:53.000000000 -0700
@@ -634,7 +634,7 @@
     given($foo) {
        when (/x/) { say '$foo contains an x'; continue }
        when (/y/) { say '$foo contains a y' }
-       default    { say '$foo contains neither an x nor a y' }
+       default    { say '$foo does not contain a y' }
     }
 
 =head3 Switching in a loop
End of Patch.

Reply via email to