Mega Code Archive

 
Categories / Perl / Array
 

Define an array variable called @myList

#array variable is preceded by @; this tells Perl that we want an array, not a scalar. @myList = ();