On Fri, Feb 07, 2003 at 06:38:36PM -0500, Uri Guttman wrote: > >>>>> "ML" == Michael Lazzaro <[EMAIL PROTECTED]> writes: > ML> Along those lines, the closest I've been able to come so far to a > ML> usable two-sentence definition is: > > ML> -- A list is an ordered set of scalar values. > ML> -- An array is an object that stores a list. > > but you can't derive the rules about allowing push/pop/splice/slice from > that pair of defintions.
1) A list is an ordered grouping of scalar values. 2) An array is an object that stores a list. 3) Assignment and splices can be performed on both lists and arrays. 4) Operators like push/pop/splice/shift/unshift operate only on arrays. > lists are read only Not quite: ($a, $b, $c) = 1..3; Z.