in reply to Re^2: Pass an array reference or array indices to a subroutine?
in thread Pass an array reference or array indices to a subroutine?

May be my question should have been which one of these is faster: dereferencing an array or a scalar.

There's no difference.

And that shouldn't be the question at all. There's no point of comparing things that aren't equivalent.

  • Comment on Re^3: Pass an array reference or array indices to a subroutine?