Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: delete single user

by davido (Cardinal)
on May 28, 2020 at 14:23 UTC ( #11117420=note: print w/replies, xml ) Need Help??


in reply to delete single user

Let's do this on paper:

  1. Write down a list of everybody in the room.
  2. Send one person out of the room.
  3. Announce all the names on the list.

Notice I didn't include a step to draw a line through the name on the list of the person we sent out of the room? You are deleting a user, but then printing out the list that you generated before the delete.

The order should be:

  1. Delete a user.
  2. Fetch a list.
  3. Print the list.

That's still a terrible plan; as the user list grows so will your memory requirements, network traffic, and the requirements for memory in peoples' browsers.


Dave

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117420]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-09-21 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?