use strict; use warnings; my $arref = [ ['text1','Num1'], ['text2','Num2'], #and so on ];