pr09 has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I am back with one more question.
Please note that i am not asking for any ready made code here but just a few tips from the experts present here.
So no cheating on my part,if anyone can offer help i will be thankful.
As i am learning perl since 1 week now,so i have a question.
I am writing into a file some values and am splitting it to get the second position say $F2.
Now i want to print and sort the unique values of that field only.
I don't care about the rest of the fields in my file.
Just i want to print the $F2 in a unique and sorted manner.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl sorting unique values
by Corion (Patriarch) on Jun 22, 2011 at 08:39 UTC | |
Re: Perl sorting unique values
by Utilitarian (Vicar) on Jun 22, 2011 at 08:43 UTC | |
by pr09 (Novice) on Jun 22, 2011 at 09:21 UTC | |
by wind (Priest) on Jun 22, 2011 at 10:14 UTC | |
Re: Perl sorting unique values
by Khen1950fx (Canon) on Jun 22, 2011 at 13:59 UTC | |
Re: Perl sorting unique values
by rnaeye (Friar) on Jun 22, 2011 at 14:12 UTC | |
Re: Perl sorting unique values
by sundialsvc4 (Abbot) on Jun 22, 2011 at 15:55 UTC | |
by BrowserUk (Patriarch) on Jun 22, 2011 at 17:01 UTC | |
by pr09 (Novice) on Jun 23, 2011 at 05:38 UTC | |
by pr09 (Novice) on Jun 23, 2011 at 08:06 UTC |
Back to
Seekers of Perl Wisdom