elseif

elseif

The "else if" keyword is spelled elsif in Perl. There's no elif or 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.

doc_perl
2016-12-06 03:19:11
Comments
Leave a Comment

Please login to continue.