in reply to Re^2: Adding rows of data
in thread Adding rows of data

Well, then at least add a hash reference instead of two array references to match data structure from your _test() ...

... push @{ $header_row } , [ { 'City Name' => '' , ... } ] ; ...

BTW|FWIW, your headers|key names are different in letter case & spellings.

Replies are listed 'Best First'.
Re^4: Adding rows of data
by Anonymous Monk on Dec 02, 2014 at 16:56 UTC
    That should work for that kind of data structure, my final data structure goal is to have it as this once printed:
    my $data_test = [ [ 'City Name', 'Last Name', 'First Name', 'Address', ], [ '', '', '', '', ], [ 'San Frans', 'Doe', 'Jonh', '100 Main Street', ], ];