From: Rafael Garcia-Suarez Date: Mon, 20 Apr 2009 07:51:38 +0000 (+0200) Subject: Remove some empty lines in a code example X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f008545ed2e0f4f26c47d5aeae3cb2d48594990c;p=p5sagit%2Fp5-mst-13.2.git Remove some empty lines in a code example --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index e52d42c..102f38e 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -516,24 +516,19 @@ This construct is very flexible and powerful. For example: when (undef) { say '$foo is undefined'; } - when ("foo") { say '$foo is the string "foo"'; } - when ([1,3,5,7,9]) { say '$foo is an odd digit'; continue; # Fall through } - when ($_ < 100) { say '$foo is numerically less than 100'; } - when (\&complicated_check) { say 'a complicated check for $foo is true'; } - default { die q(I don't know what to do with $foo); }