New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elseif should be elsif at blahblah.pl line 103. #9318
Comments
From ben.aveling@alcatel-lucent.com.auHi, 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 Regards, Ben -- Ben.Aveling@alcatel-lucent.com.au |
From cmasak@gmail.comBen (>):
I'm not sure laxity among keywords would really be a feature. Allowing "elseif" would constitute having two reserved words pulling // Carl |
The RT System itself - Status changed from 'new' to 'open' |
From allbery@ece.cmu.eduOn 2008 May 7, at 7:21, Carl Mäsak wrote:
I thought WATFIV proved that this was a really bad idea.... -- |
From @smpetersOn Wed May 07 01:41:04 2008, ben.aveling@alcatel-lucent.com.au wrote:
Unfortunately, the keyword is elsif, not elseif. Perl is simply nice Steve Peters |
@smpeters - Status changed from 'open' to 'rejected' |
From @smpetersOn Wed May 07 01:41:04 2008, ben.aveling@alcatel-lucent.com.au wrote:
Unfortunately, the keyword is elsif, not elseif. Perl is simply nice Steve Peters |
From ben.aveling@alcatel-lucent.com.auWhat happened to there's more than one way to do it? :-) I can't say that using elsif instead of elseif or else if is a problem. It just seems a bit unperl-like to say "I know what you mean but I won't Regards, Ben -- -----Original Message----- On Wed May 07 01:41:04 2008, ben.aveling@alcatel-lucent.com.au wrote:
Unfortunately, the keyword is elsif, not elseif. Perl is simply nice Steve Peters |
From @AbigailOn Tue, May 13, 2008 at 07:25:39AM +0800, AVELING BEN wrote:
Changing as it is now could potentially break code: sub elseif (&) {say "--> ", &{$_ [0]}} if (1) { __END__ I'd say, if we really wanted 'elseif' as an alias for 'elsif', it should Abigail |
From @doughera88On Tue, 13 May 2008, AVELING BEN wrote:
Your point is well taken. It's not at all difficult -- just change the =item elseif should be elsif (S syntax) There is no keyword "elseif" in Perl because Larry thinks -- |
From @davidnicoluse Macrame; |
From @ysthOn Tue, May 13, 2008 2:34 am, Abigail wrote:
And syntax-highlighters, etc. |
From ben.aveling@alcatel-lucent.com.auHi Andy, I thought it would have to be something like that. I can live with that answer. Thanks, Ben PS. Abigail, thanks for the example - very... educational. -----Original Message----- On Tue, 13 May 2008, AVELING BEN wrote:
Your point is well taken. It's not at all difficult -- just change the current way is rather firmly entrenched. If you run with -Mdiagnostics, you'll get the following excerpt from pod/perldiag.pod: =item elseif should be elsif (S syntax) There is no keyword "elseif" in Perl because Larry thinks -- |
Migrated from rt.perl.org#53808 (status was 'rejected')
Searchable as RT53808$
The text was updated successfully, but these errors were encountered: