Ilya said:
IMO, perldoc -f should be able to find ALL the words special to Perl.
I agree... perldoc -f only searches through perlfunc, and I think that's
too limited. It's unfortunate that operators like "and" and control
keywords like "unless" aren't found. Perlfunc is the bulk of the
keywords to perl, but not everything.
Whenever I go search for "unless" in the real place where it is
documented, "perlsyn", I'm still amazed at how thick as mud the
description actually is, compared to the to the point descriptions in
perlfunc.
It apparently is also incomplete. Look at this list in perlsyn:
The following compound statements may be used to control flow:
if (EXPR) BLOCK
if (EXPR) BLOCK else BLOCK
if (EXPR) BLOCK elsif (EXPR) BLOCK ... else BLOCK
LABEL while (EXPR) BLOCK
LABEL while (EXPR) BLOCK continue BLOCK
LABEL for (EXPR; EXPR; EXPR) BLOCK
LABEL foreach VAR (LIST) BLOCK
LABEL foreach VAR (LIST) BLOCK continue BLOCK
LABEL BLOCK continue BLOCK
Where's "unless"? Where's "until"?
It also suggests you can't have an "elsif" without an "else".