http://qs321.pair.com?node_id=752304


in reply to Re: CGI Not Returning Parameter that's there
in thread CGI Not Returning Parameter that's there

A more important reason for deciding between if ...; if ...; ... and if ... elsif ... is to indicate intent. A string of if statements indicates that any combination of them may be true. An if/elsif chain indicates that only one may be true.

Efficiency differences in this case are most likely trivial, but the difference in information conveyed between the writer and reader of the code is highly significant!


True laziness is hard work