Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
have not coded for while, so pardon the rustiness.
I have two sets of values being pulled from a DB.
What I need to do is key off of 2nd filed and associate all values fron field 1. The number of values when reach a pre-defined limit should stop and then start in a new line.1 cat1 2 cat1 3 cat2 4 cat3 5 cat3 6 cat1 7 cat1
I've got all the other parts figured out and am stuck on how to make it display as show in the output.OUTPUT: cat1 1 2 cat1 6 7 cat2 3 cat3 4 5
Code tags added by GrandFather
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print and display values
by NetWallah (Canon) on Mar 06, 2016 at 23:36 UTC | |
|
Re: print and display values
by Athanasius (Cardinal) on Mar 07, 2016 at 02:59 UTC | |
|
Re: print and display values
by graff (Chancellor) on Mar 06, 2016 at 23:47 UTC |