in reply to difference between array and list in perl

In my understanding (and as explained by "Learning perl"), an array is a variable containing the list. So the list is the data itself, the array is the variable in which it is stored.
  • Comment on Re: difference between array and list in perl

Replies are listed 'Best First'.
Re^2: difference between array and list in perl
by ikegami (Patriarch) on Jan 17, 2010 at 23:13 UTC
    Yes, you can say an array contains a list (of elements). I just wanted to warn against making the incorrect assumption that lists are only found in arrays.