Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: New Monks Info Page

by Odud (Pilgrim)
on Jun 11, 2001 at 15:17 UTC ( #87445=note: print w/replies, xml ) Need Help??

in reply to New Monks Info Page

I think I would move points 3 and 4 up to the top of the list - I guess they are what you want anyone to do first. I'm not sure about use diagnostics; versus use warnings; I suppose it all depends on your level.
General comments:
The document asks rather than demands.. which is the polite thing to do. But if the purpose is to reduce the number of posts that ask questions that have well-known answers, and to reduce the number of posts that don't provide sufficient info in the first instance - then perhaps the document should be more authoritative. Human nature being what it is - people will probably not look at all the recommended links, they will skim the document and then post. Maybe start with something along the lines of:
Before posting ask yourself the following questions
- is the question already covered in the FAQs?
- am I using strict and warnings?
- have I supplied enough code and data so that it is clear what I'm doing?
Each question would have the appropriate links - I'm sure that others more skilled in this sort of thing could improve the phrasing - the aim being to be authoritative and friendly/encouraging at the same time.

Has the idea of having an example question and answer been discussed? The question would illustrate all the good practices discussed in the main document e.g. what was trying to be done, what happened, code snippet included, use of HTML tags etc. The answer would show the sort of helpful reply that you get back!
I'm trying to count the number of times a file has a line with "foo" in it. The program looks like this:
while(<>) { $line = chomp; $count++ if ($line =~ /foo/); } print $count;
But when I run it I get:
Use of uninitialized value in print at ./ line 8, <> line 3.
Can someone tell me what's going on?
For the simplest questions perhaps it would be possible to design a form that could be used?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87445]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-02-21 01:24 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (305 votes). Check out past polls.