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

That’s my problem, I can't change the data in _test, I am trying to change the data in  $header_row to match what is coming from _test.

Replies are listed 'Best First'.
Re^3: Adding rows of data
by Anonymous Monk on Dec 02, 2014 at 16:29 UTC

    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.

      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', ], ];