in reply to Re: Check Array Elements
in thread Check Array Elements

This is wrong.

Counterexample:

@FILES = ("ABC", "ABC", "ABC");
Your grep would still report 3, event though "GHI" is missing.

And that is even without mentioning that the regex matches also enties like "XABCY".

Replies are listed 'Best First'.
Re^3: Check Array Elements
by NetWallah (Canon) on Jun 07, 2012 at 05:56 UTC
    Thanks for pointing out the bugs (++). Code updated above.

    I think that method is getting unwieldy. Much prefer ckjs approach below.

                 I hope life isn't a big joke, because I don't get it.
                       -SNL

      serious ++. I love seeing this type of accountability. I know I often have to swallow it.