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


in reply to String in array

As usual: A new thread (the 40th) for a tiny aspect of the real problem, wasting our time to guess what the real problem is, to tell Sun751 to RTFM, to tell Sun751 to read the error messages, again and again and again and again.

Re: Initializing Hash reference, Re: reading commands from configuration file, executing hash element as command, reading commands from configuration file, How to read hash of .cfg file, Useless use of private variable, Reading .cfg file, Re: How to read hash of .cfg file

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^2: String in array
by Sun751 (Beadle) on Jul 26, 2009 at 23:25 UTC
    Sorry about this thread, figure out the problem....... as I am new to perl and I am trying different things........... which bring simple bug a big problem to me................ Sorry again!!!

      Nobody here has a problem with Perl beginners. All of us, except for Larry Wall, had to learn Perl from zero. And all of us are willing to help beginners to learn Perl. That's one of the main purposes of the Monastery.

      We all do this for free, yet still it has a price: YOU must show that you are willing to learn and to study.

      This means that you should try to solve problems alone, as far as you can. Use the excellent documentation, available on your computer and on http://perldoc.perl.org/. The latter is searchable, so use the search function. The Monastery has a search function, use it. Use Google.

      If all that does not help, then, and only then, post your question. Try to explain your problem as precise as possible. What do you get, what do you expect? Explaining often means that you should show us the relevant code (in <code> tags, of course). When it is related to a previous question, post it as reply to the previous question (i.e. stay in the same thread). That allows all of us to see what you have already tried, what solutions were offered, and what problems were already excluded (i.e. the problem context).

      If you behave that way, you avoid unneeded and repeated guesswork by people who are willing to help you. This reduces frustration on both sides and allows us to help other people instead.


      All of your 40 threads, from the very first up to this one, rotate around the same obscure program, so they should have been a single thread. (We could discuss if it was better to merge them to three or four threads instead, but 40 threads are just ridiculous!). In each single thread, you demonstrate your unwillingness to read manuals, to read answers, and to explain you real problem.

      In short: You ask for help, but refuse to accept it.

      This is frustrating for everyone. Just look how often your threads were downvoted to negative scores reputations. Look at those scores reputations as a big fat warning for you.

      If you want help, show us that you are willing to learn, accept what we tell you, and research for yourself before posting. If you don't like these rules, go away and search for help elsewhere.


      Don't fear to write bad english. We come from all over the world, and a lot of us learned english as second or third language in school or at work. We don't celebrate english writing contests here, we try to help each other getting things done with Perl, and have some fun with it. No one criticises you for spelling errors or a weired grammar.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)