in reply to Re: Removing empty string elements from an Array
in thread Removing empty string elements from an Array

You call that "more readable"? Are you joking?

When using any language, go with its strengths. Perl's clarity in brevity is a feature, not a bug.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

  • Comment on Re: Re: Removing empty string elements from an Array

Replies are listed 'Best First'.
Re: Re: Re: Removing empty string elements from an Array
by Bobcat (Scribe) on Feb 03, 2002 at 18:28 UTC
    Jeez... Somebody hand me a fire extinguisher...

    Yes, I find it more readable. No, I'm not joking. It's about as close to plain English as you can get. It appeared to me that the questioner was not very familiar with some of the interesting nuances that separate perl from C or BASIC.

    When learning a language, it's often usefull to see a "here's what's happening" sort of example -- be it in pseudocode or ineffecient "straight" looping -- to show how a particular operation can happen.

    I'm sorry if my example offended you; I didn't intend to ruin your day.