for(my $c = 0; $c < 9; $c++) { my @entry = ( $c, 40 ); push @header, \@entry; } my $desc = { columns => { data => \@header, }, };