Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^6: I'm looking forward to 2011 the way I once looked forward to ..

by BrowserUk (Pope)
on Jan 04, 2011 at 17:12 UTC ( #880421=note: print w/replies, xml ) Need Help??


in reply to Re^5: I'm looking forward to 2011 the way I once looked forward to ..
in thread I'm looking forward to 2011 the way I once looked forward to ..

May I ask, do you use @array[ 1, 2, 3 ] or @array [1,2,3]?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^7: I'm looking forward to 2011 the way I once looked forward to ..
by Tux (Abbot) on Jan 04, 2011 at 22:34 UTC

    Neither, I use

    @array[1, 2, 3]

    or

    @array[1,2,3]

    No strong preference between these two. Probably the first on complex index expressions and the second on short lists.


    Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://880421]
help
Chatterbox?
[SuicideJunkie]: Parse a serial number from a register. But it is humans that type it in originally.
[SuicideJunkie]: No respect for buffer sizes... give them a byte, they take three :D

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2016-12-07 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.