http://www.perlmonks.org?node_id=163588


in reply to match a word in an words' array

perldoc -f grep

Tradez
"Never underestimate the predicability of stupidity"
- Bullet Tooth Tony, Snatch (2001)

Replies are listed 'Best First'.
Re: Re: match a word in an words' array
by tradez (Pilgrim) on May 02, 2002 at 17:00 UTC
    why is this voted down? was I not clear enough? Sometimes I wonder about you guys.

    Tradez
    "Never underestimate the predicability of stupidity"
    - Bullet Tooth Tony, Snatch (2001)

      Well, I can't tell you why anyone chose to vote one way or another, and I haven't voted on this thread at all. But you ask a fair question, so I hope giving you my guess will help.

      Your answer, though clear, is not helpful. If you're going to give someone an "RTFM" answer, at least give them an URL they can follow, like perlfunc:grep or grep. The questioner may not know how to use perldoc at all. It looks like the questioner went to some effort to ask his/her question reasonably clearly, provide a code sample, and so on, but your response is just a throwaway. It looks demeaning; I don't know if that was your intention, but it comes off that way.

      Read 1st monasterians to remember the spirit of how to answer questions. If you can't/don't want to put some effort into a good answer, that's OK. Someone else will step in. But a put-down answer doesn't help anyone, you or the questioner.