I have a perl.cgi that writes form data to a disk file in the folowing format.....
Lots of text appears as a single
block here until there is a = sign on its own line.
The number of such text boxes that appear here
varies. A block will be appended to this file periodically.
And will finish with an = sign on its own.
The number of text block will grow
I can read in the single lines OK. but I'm stuck when it comes to reading in the blocks of text towards the end of the e block.
To get the single lines I'm doing.....
($var1, $var2) = split (/=/, $_);
To the question......
How can I read each block into its own variable so that I can use each one in its own table cell?
Does anyone have any ideas????