in reply to Re^2: array or array ref as variable
in thread array or array ref as variable

How is that more idiomatic? for and foreach are synonyms.

Perhaps the use of $_ instead of the named variable is what you're referring to, but I am not convinced that that is more idiomatic.

Replies are listed 'Best First'.
Re^4: array or array ref as variable
by HelenCr (Monk) on Jun 28, 2013 at 19:50 UTC
    That's right. I meant the use of $_