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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://594551]
help
Chatterbox?
[holli]: a pope t-shirt? are the words "fuck the" printed on it?
[Eily]: ...
[Eily]: I just realized that there's an onion in your eye
[marto]: bishop t-shirt?
LanX zooming holli s picture seeking onion
[holli]: Oh, seems like LanX' team has won the fourth World Cup ... awesome!
LanX grins
[marto]: anyway, don't come to Glasgow for the football :)
[holli]: the hell? i have a scriptblocker on.
[holli]: how do you update a different window without javascript?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2017-12-14 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (398 votes). Check out past polls.

    Notices?