in reply to reading file
You don't even need to use perl for that. If you're on a *NIX box, you could use the following command:
sort -u original_file >new_file
But since you're here, you might want to know how to do it in perl. So you could do it in roughly the same way the sort command does it:
Give it a try and let us know if and where you get stuck!
...roboticus
|
|---|