[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Two dimensional associative arrays in Perl?



Is it possible to have two dimensional associative arrays in Perl,
something like:

 $table{$price, $size} = ("RED", "BLUE");

where $price and $size can be values like "9.99" and "Large"?



-dhan

------------------------------------------------------------------------
Dan Shoop                                   Campmor, Inc.
Internet Architect                          28 Parkway
shoop@campmor.com                           Upper Saddle River, NJ 07458
(201) 825-8300 x3035                        http://www.campmor.com/