There's more than one way to do things | |
PerlMonks |
Re: Adding rows of databy 2teez (Vicar) |
on Dec 02, 2014 at 18:32 UTC ( [id://1109018]=note: print w/replies, xml ) | Need Help?? |
Hi, In MHO, I would have suppose that you push, the data from $data variable into the variable $header_row instead the other way around, using unshift like you are doing. Something like so And of course, it gives you the same output like you had previously. However, to have your desired out something like this works Output Since, you said you cannot change the subroutine _test()
If you tell me, I'll forget. If you show me, I'll remember. if you involve me, I'll understand. --- Author unknown to me
In Section
Seekers of Perl Wisdom
|
|