develooper Front page | perl.beginners | Postings from December 2002

Merging some stuff..

From:
hapan
Date:
December 9, 2002 08:36
Subject:
Merging some stuff..
Message ID:
20021209163650.GE13844@kanyl.org
Hello people


Do any one of you know a good way to merge some expressions into one?

this is what i would like in one thing:


$killer $score{ $killer } 
its for some logparsing. This generates the output i want
ex: 

monkey -15
elephant 10 

monkey -17
elephant 12

i need this to so i can use a foreach $line statement later on and
join all duplicate names into one and have a normal output so i can do
something with it..

thanks in advance..

Adam



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About