http://www.perlmonks.org?node_id=594551


in reply to Re: (RFC) Arrays: A Tutorial/Reference
in thread (RFC) Arrays: A Tutorial/Reference

Indeed. But personally I consider it a matter of good style always to enclose the RHS of an array assignment in parentheses for the sake of consistency, since they are necessary in some situations. And you can't exactly say it's a bad habit to get into...

One exception I make, in my own programming style, is when the RHS is a single function call, e.g. @a = stat;

  • Comment on Re^2: (RFC) Arrays: A Tutorial/Reference