Mega Code Archive

 
Categories / Perl / Array
 

Reference array element by index

$variable1 = (a, b, c)[1]; print $variable1;