in reply to the answer to an 'uninitialized value, now how do I implement it?

psst... just for the record, you are printing out an array slice of 8 items, not 7. :) Always remember that arrays begin with the number 0. So when you say @{$var}[0 .. 7], you are retrieving data from the array "slots" 0, 1, 2, 3, 4, 5, 6 and 7, making a total of 8 items.

You know... just for the record :)

  • Comment on Re: the answer to an 'uninitialized value, now how do I implement it?
  • Download Code