in reply to Remove duplicate data from text file
- Read the file into an array
- Create a hash whose keys are the values in the array
- Create an array from the keys of the hash
- Print the array out to a file
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
---|
In Section
Seekers of Perl Wisdom