in reply to Re: Merge 2 2d arrays
in thread Merge 2 2d arrays
the data that is in @ref_db_data is:... use Data::Dumper; ... my @ref_header = ( [ ["Name", "Surname"] ], ); ... @ref_db_data = $sth->fetchall_arrayref;
What I want to do is joint (merge) the two arrays to simply add the header row so that I can then print it on the PDF. Hope this makes sense... :Pprint Dumper @ref_db_data; $VAR2 = [ [ 'John', 'Doe' ], [ 'Jane', 'Smith' ], ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Merge 2 2d arrays
by kyle (Abbot) on Feb 14, 2008 at 21:14 UTC | |
by craret (Initiate) on Feb 14, 2008 at 21:52 UTC |