in reply to Array refs problem ...

I agree with ikegami's post above.

You should try to avoid to surround the arrays with ( )'s. This is (IMHO) never necessary and just adds another pair to be tracked by the programmer/maintainer/whoever read the source code. Also the double line spacing used here makes the code a little less readable.