perlquestion
diamondsandperls
<pre>
I should have been more clear in my original post I do not want to completely remove entries on the multiline text output I have a variable that has all this data stored maybe i can parse directly from the variable prior to printing the output.
In the below instead of Product 1 printing twice i only want it to print once.
Product 1
------------------------------------------------------------------
storeId = 1001
phoneNumber = (111) 111-1111
availbilityCode = 1
stockStatus = Limited stock
distance = 9.12
city = some city
fullStreet = some address
Product 2
------------------------------------------------------------------
storeId = 2117
phoneNumber = (111) 111-1111
availbilityCode = 2
stockStatus = In stock
distance = 7.49
city = some city
fullStreet = some address
Product 3
------------------------------------------------------------------
storeId = 2123
phoneNumber = (111) 111-1111
availbilityCode = 1
stockStatus = Limited stock
distance = 8.83
city = some city
fullStreet = some address
Product 1
------------------------------------------------------------------
storeId = 1001
phoneNumber = (111) 111-1111
availbilityCode = 1
stockStatus = Limited stock
distance = 8.56
city = some city
fullStreet = some address
</pre>