Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
P is for Practical
 
PerlMonks  

Re^6: Deleting duplicate lines from file

by Anonymous Monk
on Feb 17, 2006 at 11:34 UTC ( [id://530998]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^5: Deleting duplicate lines from file
in thread Deleting duplicate lines from file

Because it's simpler

Sorry neither are simple. Simplest would be:

my @lines; my %line_md5;

Here is clearly readable. There are no troubling lists to have to scan. Each one is on their own line. Simple and readble that is what people's code should be. Of course I wouldn't expect many on PM to understand that, given how much they love the Obfuscation section and how many ++ they give obfuscated code.

(and yes I'm posting as anon to avoid the -- that you morons will give this post).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://530998]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.