Mega Code Archive

 
Categories / Perl / Array
 

Filling an array with a sequence of numbers by using the operator

@array = (1 .. 10); print @array;