summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-11-29 15:40:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-29 15:40:42 +0000
commita91c35b0b764ca1a209a514dd10682aecec1e2c8 (patch)
tree781d76682f31fa47f78f24408aad193bb06ea29d /pod
parentaa2401440200f95c6f97edeae40977a0d02d3916 (diff)
downloadperl-a91c35b0b764ca1a209a514dd10682aecec1e2c8.tar.gz
Tune the "if" entry.
p4raw-id: //depot/cfgperl@2386
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod7
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 370353bb2a..7900fb57fc 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -1901,8 +1901,11 @@ Enter BLOCKs conditionally. The first EXPR to return true
causes the corresponding BLOCK to be entered, or, in the case
of C<else>, the fall-through default BLOCK.
-Take notice: Perl wants BLOCKS, expressions (like e.g. in C, C++, or
-Pascal) won't do.
+Note 1: Perl wants BLOCKS, expressions won't do (like they do
+e.g. in C, C++, Java, Pascal).
+
+Note 2: It's C<elsif>, not C<elseif>. You can have as many
+C<elsif>s as you want.
See L<perlsyn> for more details. See also C<unless>.