I need to develop an output format for a report.
The issue is that it's a one to many relationship in terms of reporting.
I.e.

FIRST TERM
-----------------------
FIRST MATCH TO FIRST TERM
SECOND MATCH TO FIRST TERM

SECOND TERM
----------------------
FIRST MATCH TO SECOND TERM

THIRD TERM
---------------------
FIRST MATCH
.
.
.
FOURTH MATCH TO THIRD TERM

Is that clear? There's no fixed number of matches for any term.
I was trying to open a second FORMAT to feed into the same file:

open(DEMANDOUT,">$dir/DEMAND.txt") or die "can't open file. $!";   
open(DEMANDTWO,">$dir/DEMAND.txt") or die "can't open file. $!";

But it wasn't working very well and I bet there's an easier way.
I'm reporting by sorting a hash, and deriving values from a delimited
string.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to