On Fri, Jun 27, 2008 at 12:29:00PM -0700, Rudd Zwolinski wrote: > This may be a simple question, but I need to know if the order of list > items in a passed list will be guaranteed. For instance, if in one > component, I have three lists @names, @ages, and @heights, where > $names[i] has age $ages[i] and height $heights[i]. If I pass these to > a component, will the indexes still match up?
It's worth mentioning that an array of hashrefs is often much easier to maintain than three parallel arrays. { name => "Dave", age => 17, height => 72 }, { name => "Sarah", age => 52, height => 66, }, ... etc. hdp. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users