Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

delete single user

by bigup401 (Pilgrim)
on May 27, 2020 at 20:03 UTC ( #11117356=perlquestion: print w/replies, xml ) Need Help??

bigup401 has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: delete single user
by davido (Cardinal) on May 28, 2020 at 14:23 UTC

    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

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: delete single user
by Anonymous Monk on May 27, 2020 at 20:17 UTC
      >Why help this guy at all?

      Says "Anonymous Monk". (I looked, there is no "L"!) - I see you taking pot shots a lot around here. Not sure where you find the time, but you do post a lot and I am becoming very suspicious of you.

      >Why help this guy at all?

      Ignore him or answer it for the next person looking for similar information. Doing this while being anonymous you won't get karma, but it might spruce the place up. And get some sleep. Seriously, you post a lot.

        "And get some sleep. Seriously, you post a lot."

        You know that the site allows people to post anonymously, you seem to be assuming that Anonymous Monk is one person.

    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
Node Status?
node history
Node Type: perlquestion [id://11117356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2021-02-25 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?