www.perl.com
Perl Programming
Arrays
  • Store any number of ordered scalars
    • numbers
    • strings
    • references
    • any combination of above
  • Have a name preceded by an @ character
  • May be declared in a local scope with a my qualifier

        my @fibonacci = (1, 1, 2, 3, 5, 8, 11);         # Numbers
        my @fruits = ("apples", "bananas", "cherries"); # Strings
        my @grade_synonyms = (100, "A++", "Perfect");   # Both
      
Previous http://stuff.mit.edu/iap/perl/