On 12/5/05 8:20 AM, "Adedayo Adeyeye" <[EMAIL PROTECTED]> wrote:

> I have a file that contains a listing of names like:
> 
> 
> 
> John
> 
> Paul
> 
> Kate
> Paul
> 
> Charles
> 
> Kate
> 
> 
> 
> How do I write a script to parse through this file and just return the unique
> names. Ie I want the repetitions ignored.

See here:

http://www.unix.org.ua/orelly/perl/cookbook/ch04_07.htm

I'm assuming you know how to read a text file....

Sean


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to