Please re-check your indenting and curlies ({,}). If the problem still isn't visually obvious for you, show us your current code again and tell us what if the elsif should come after. In contrast to C, Perl uses always the curlies in if () {...} elsif (...) {...} else {...}.
In reply to Re: elseif syntax error
by jakobi
in thread elseif syntax error
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |