on Tue, 04 Sep 2001 12:15:37 GMT, Quincy Ntuli wrote:

> I understand that perl desides how it stores data in an array.

Perl doesn't, you do. Data in an array is indexed by an integer. You, the 
programmer, choses at which position you put your data:

     $array[0] = 0;
     $array[1] = 1;

Or, by using push, you take the next available position:

     push @array, 3;

is the same as
     $array[2] = 2;
 

Perl *does* decide in which order it iterates over the keys of a hash.

-- 
felix

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

Reply via email to