Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[Corion]: tye: Hmm - you mean what who am i outputs?
[Corion]: (that should be getlogin()? )
[Corion]: (which apparently even is a Perl function, I didn't know that, so thank you for making me see that ;) )
[Corion]: Yeah, I just did su -; perl -wle "print getlogin" and it still printed corion

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2017-06-23 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.