in reply to Is 'last' redundant in this code?
While I would be hesitant to put a call to exit in a subroutine (but I have done it in the past), I certainly wouldn't be eagar to remove the 'redundant' last. It gives a clue that after finding key, the array isn't searched any further.
Abigail
|
|---|