Mega Code Archive

 
Categories / Perl / Array
 

Construct an integer array and output its first element

@array = (1, 2, 3); print $array[0];