in reply to Re^3: Creating a unique variable type (an object)
in thread Creating a unique variable type

What osler is suggesting is using an array of arrays or a hash of arrays. Each element would actually be an arrayref that refers to an array with just the two values in it. So you would have both things in each element of the main array. This would be a good introduction to references which you need to know before creating objects.

  • Comment on Re^4: Creating a unique variable type (an object)