more useful options | |
PerlMonks |
Re: if..elseif...syntax problemby Bilbo (Pilgrim) |
on Feb 27, 2003 at 15:55 UTC ( [id://239129]=note: print w/replies, xml ) | Need Help?? |
It should be elsif, not elseif. In fact, when I try running this I get an error telling me this very clearly: elseif should be elsif at ./test.pl line 18. syntax error at ./test.pl line 20, near ") {" Execution of ./test.pl aborted due to compilation errors.
In Section
Seekers of Perl Wisdom
|
|