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


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 (Canon) 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