Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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

by jdporter (Canon)
on Jan 13, 2007 at 16:40 UTC ( #594551=note: print w/replies, xml ) Need Help??

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2016-10-23 21:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.