On Monday, April 15, 2002, at 02:01 , Mark. wrote:
[..]
> Out of intrest, if I wanted to look at the exact no. sold
>
> ie. get output like: apples, 4, 3 and 0
[..]

http://archive.develooper.com/beginners%40perl.org/msg23928.htmlo

this was the option from David Grey that showed up on the list,
and is in the archive...

His solution was to build an array of hashes, and post process them....

but you may wish to actually look at doing 'tie' and/or slipping
over the wall a bit towards various of the DBM types of solutions
if you really want to have more complex levels of queries.

perldoc -f tie

rather than attempting to fully re-implement all of that in
your own code space....

> [..]
> On Friday 12 April 2002 15:55, you wrote:
>> On Friday, April 12, 2002, at 03:56 , Mark. wrote:
>>
>>> apples, melon, oranges, pears, coconut, lemons, grapefruit
>>> 4, 3, 2, 7, 1, 4, 0
>>> 3, 1, 4, 4, 0, 0, 1
>>> 0, 4, 0, 0, 4, 5, 0
>>
>> http://www.wetware.com/drieux/CS/lang/Perl/Beginners/FruitPickFromCVS.txt
>>
>> offers an illustration about how this problem can be solved.

cia
drieux

---


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

Reply via email to