in reply to Re^2: Help in using arrays
in thread Help in using arrays

I agree with everything you say - and would almost certainly have said it too if I had had more time this morning :)

Just one small point. At the point when you switch to using "grep", you lose the tiny optimisation that you get from using "last" in the loop.

Replies are listed 'Best First'.
Re^4: Help in using arrays
by Anno (Deacon) on Mar 14, 2007 at 15:13 UTC
    Just one small point. At the point when you switch to using "grep", you lose the tiny optimisation that you get from using "last" in the loop.

    Indeed. I thought of mentioning it, but that seemed to invite a deviation to List::Util::first and I dropped the whole thing.

    Anno