Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Removing users from a list

by BrowserUk (Pope)
on Sep 09, 2012 at 01:19 UTC ( #992548=note: print w/replies, xml ) Need Help??


in reply to Removing users from a list

  1. Load the smaller (to-be-removed) list into a hash, having stripped any extraneous bits (eg. say $line =~ s[</+$][];) and having lc'd them.
  2. Read the bigger file line by line; strip any extraneous bits & lc them; if email read exists in the toBeRemoved hash, don't print it; otherwise do.
  3. Redirect the output to a temp file. Delete the original master file; rename the temp file to the master.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992548]
help
Chatterbox?
[Corion]: 1nickt: I imagine (heh) that Agile done somewhat right will make the process (and why we postpone things) somewhat more explicit to the outsider, or at least the "who do we ask to postpone X"

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-12-11 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (290 votes). Check out past polls.

    Notices?