V
viv2k
I'm new to Perl but a friend has told me that the task I wana do can
be done very efficiently by Perl.
Right now, I have two very long lists of words with comments attached
to each of the words and I want to find the words that are common in
both of them.
example:
ListA ListB
apple 1.1 apple 100
banana 2.2 boy 500
cat 3.3 cat 1000
And I want the result to look something like:
ListA ListB
apple 1.1 apple 100
cat 3.3 cat 1000
any idea on how to tackle this? I'm off to reading some Perl
introductory books now koz I really need that list asap. Any help
would be greatly appreciated.
thanks
viv
be done very efficiently by Perl.
Right now, I have two very long lists of words with comments attached
to each of the words and I want to find the words that are common in
both of them.
example:
ListA ListB
apple 1.1 apple 100
banana 2.2 boy 500
cat 3.3 cat 1000
And I want the result to look something like:
ListA ListB
apple 1.1 apple 100
cat 3.3 cat 1000
any idea on how to tackle this? I'm off to reading some Perl
introductory books now koz I really need that list asap. Any help
would be greatly appreciated.
thanks
viv