Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: array or array ref as variable

by Lawliet (Curate)
on Jun 28, 2013 at 11:08 UTC ( #1041217=note: print w/replies, xml ) Need Help??

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 $_

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041217]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2019-05-24 03:43 GMT
Find Nodes?
    Voting Booth?
    Do you enjoy 3D movies?

    Results (147 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!