You are viewing the version of this documentation from Perl 5.35.0.
This is a development release of Perl.
The "else if" keyword is spelled
elsif in Perl. There's no
else if either. It does parse
elseif, but only to warn you about not using it.
See the documentation for flow-control keywords in "Compound Statements" in perlsyn.