Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Doesn’t every if need an else, regardless of any elsifs?

    • Why?

      Is it your experience that if without an else is usually a problem?
      • No. It’s also not my experience that an elsif chain without an else is commonly a problem. So I’m wondering if you are seeing a systematic problem with conditionals – and if not, what the root issue really is.

        I wonder if it has something to do with the fact that when I intentionally write elsifs with no else, there are usually only one or two elsifs. (But again, this is usually.)