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

Merging some stuff..

December 9, 2002 08:36
Merging some stuff..
Message ID:
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

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About