in reply to Re: (bbfu) (eq instead) Re3: Appending an array
in thread Appending an array

This may be a good time to point out all the wonderful things that perl (including grep) can do for you.
Any time you have a question about what a certain function does, you can type perldoc -f functionname and get a reasonably detailed explanation.