On Wed, 8 Aug 2001, Mooney Christophe-CMOONEY1 wrote:

> I need to read elements from @blah from "left-to-right" (ie. in the
> order that successive shifts would read them).  I seem to remember
> reading somewhere that one should use 'for' only when s/he doesn't
> care about the order in which the elements are chosen.  However, every
> time i try 'for (@blah)', it reads "left-to-right".

That only applies to hashes.  Cycling through an array will always return
the elements in order.  Where did you read that it doesn't?

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
I never expected to see the day when girls would get sunburned in the
places they do today.
                -- Will Rogers



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to