On Wed, 28 Aug 2002, Angerstein wrote: > How to unshift to an array in an array of arrays?
Something like this my @arr1 = (1, 2, 3); my @arr2 = (4, 5, 6); my @arr3 = (7, 8, 9); my @arrofarrs; unshift (@arrofarrs, \@arr3); unshift (@arrofarrs, \@arr2); unshift (@arrofarrs, \@arr1); An array of arrays is an array of references to arrays. In effect you will be unshifting the reference to the new array into your array of arrays. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]