diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-22 10:32:17 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-22 10:32:17 +0000 |
commit | 9f435386c83a4cc6da710aa79ee7eb835c76e1f6 (patch) | |
tree | e0cc107dd0df4bb06773cc76a5828a1ab72778a9 /pod/perlsyn.pod | |
parent | 4b7b0ae45d1e8cec5bda40978b6be340b66aaa24 (diff) | |
download | perl-9f435386c83a4cc6da710aa79ee7eb835c76e1f6.tar.gz |
Regenerate perlapi.pod.
Fix indentation of code examples in perlsyn.
p4raw-id: //depot/perl@26443
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r-- | pod/perlsyn.pod | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 31b919ee6c..3e78c7bd78 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -516,7 +516,7 @@ This construct is very flexible and powerful. For example: when (undef) { say '$foo is undefined'; } - + when ("foo") { say '$foo is the string "foo"'; } @@ -524,8 +524,8 @@ This construct is very flexible and powerful. For example: when ([1,3,5,7,9]) { say '$foo is an odd digit'; continue; # Fall through - } - + } + when ($_ < 100) { say '$foo is numerically less than 100'; } @@ -533,7 +533,7 @@ This construct is very flexible and powerful. For example: when (\&complicated_check) { say 'complicated_check($foo) is true'; } - + default { die q(I don't know what to do with $foo); } |