On Wed May 07 01:41:04 2008, ben.aveling@alcatel-lucent.com.au wrote: > Hi, > > > > I've just received an error message saying: > > elseif should be elsif at blah.pl line 103. > > > > What happened to do-what-I-mean? > > > > Perl is usually pretty forgiving. In this case, it knows that I should > have typed elsif, so why does it care that I typed elseif? Why not just > treat it as if I'd typed elsif? > > Unfortunately, the keyword is elsif, not elseif. Perl is simply nice enough to warn you what your specific syntax error is in this case rather than simply returning a syntax error. Steve PetersThread Previous