|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Is CGI On-Topic
by davorg (Chancellor) on Jul 13, 2006 at 13:22 UTC | |
It's easy to work out. The site is called Perl Monks. Questions about Perl are on topic. Questions about CGI programs written in Perl are on topic. Questions about CGI programs written in other languages are off topic. Questions about the CGI protocol itself are probably off topic - but I suspect we'd let that go and answer the question anyway. In fact in most cases we seem to just go ahead and answer off topic questions anyway.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club." | [reply] |
Re: Is CGI On-Topic
by Nevtlathiel (Friar) on Jul 13, 2006 at 13:24 UTC | |
This is a Perl forum. If the problem involves Perl it is probably on topic (or at least people will tell you, generally politely, why it's off topic and what to search for/where you might be able to find suitable help). Anything completely un Perl-related is obviously off topic. Update: fixed a small typo, thanks jeffa :)
----------
| [reply] |
Re: Is CGI On-Topic
by Fletch (Bishop) on Jul 13, 2006 at 13:26 UTC | |
"How do I use CGI to get a select list?" is Perl and on topic. "How do I make my select list flush left in the browser window?" has nothing to do with Perl and is off topic. "How do I use DBI to get things out of MySQL?" is Perl and on topic. "How do I copy a set of stored procedures from one MSSQL server to another? Oh yeah, I may use perl to do this." is not really Perl and is off topic. Configuring your webserver, using CSS, SQL syntax questions, et al don't really have anything to do strictly with Perl per se. Just because you're having the problem while writing Perl does not a Perl problem make. | [reply] |
Re: Is CGI On-Topic
by derby (Abbot) on Jul 13, 2006 at 13:31 UTC | |
AM, Here's a list that may help:
You see the pattern here?
That being said, I have to say a lot of OT subjects will yield decent answers and less chastising if 1) you mark it as OT and 2) you ask the question effectively.
-derby
| [reply] |
by davido (Cardinal) on Jul 13, 2006 at 20:34 UTC | |
Your criteria aren't quite accurate. Just because a script is written in Perl doesn't mean that the problem being addressed in the question is a Perl issue or question. If there's Perl somewhere in the mix, and the question is dealing with the Perl portion of the mix, you're on topic. But if there's Perl somewhere in the mix, and the question is dealing with SQL, or HTML, or something unrelated to Perl, you're off topic. Examples: "I have a Perl script and can't figure out why my SELECT statement isn't finding the correct data." -- That's an SQL question, not a Perl question. "I have a CGI script written in Perl, and can't figure out how to make a table." -- That's an HTML question, as long as it's already understood that print is all that's needed to output HTML. Dave | [reply] |
Re: Is CGI On-Topic
by McDarren (Abbot) on Jul 13, 2006 at 13:24 UTC | |
If you were writing a CGI script in C and came here for help, that would be considered off-topic (although you'd probably still get some useful answers). Pure HTML/MySQL/Apache questions are considered off-topic, but those that involve Perl are not. Bottom line is: use a bit of common sense. If your question involves the use of Perl in some way, then it's (probably) on-topic. It's not _that_ difficult to figure out. Cheers, | [reply] |
Re: Is CGI On-Topic
by gellyfish (Monsignor) on Jul 13, 2006 at 14:31 UTC | |
A good touchstone for on-topicness is that if the question can be asked and an answer given entirely without reference to Perl then question is almost certainly off-topic, however even if the question and/or answer does refer to Perl but would make just as much sense if the references to perl were replaced by another programming language then the matter is equally off-topic. The latter clause I find does apply to the majority of CGI questions here. /J\ | [reply] |
Re: Is CGI On-Topic
by marto (Cardinal) on Jul 13, 2006 at 13:30 UTC | |
As well as agreeing with what some of the other monks have already told you, I would like to stress the fact that this is not the place to post non Perl issues you are having with MySQL or Apache. See the PerlMonks FAQ and How do I post a question effectively? for further information. If you are confused about the distinction between Perl and CGI have a read at Re: CGI vs ASP by jdtoronto from a recent discussion. Martin | [reply] |
Re: Is CGI On-Topic
by ww (Archbishop) on Jul 13, 2006 at 13:42 UTC | |
OP asks "How CGI becomes on-topic.It is "Common Gateway Interface" isn't it." ahh.... <sigh>.....Indeed it is, and that definition does not rule out C or any other language. But... to be on topic here, your question should have a specific perl component; in other words: we'll be most receptive if your question relates to using perl with the CGI protocolWell, in reality, I think you'll find most questions entitled or labeled with CGI here will draw a common reaction/assumption/inference -- namely, that "OP is asking about using a perl script, in a CGI context." unless the question specifically asks about some other language. OTH, many questions re Apache shade towards "how do I make Apache do x?" That's a question best directed to the folks who wrote/maintain/focus on Apache. MySQL questions directed to interfacing with perl tend to be received, receptively... but not the questions that boil down to "I haven't bothered to study the documents, but please teach me MySQL." Same goes for .html questions: you may find Monks forthcoming about how to template a web page and use perl to keep it up to date -- since their are modules specifically for that purpose... but when the question runs toward "what's wrong with a <p> tag inside a <span style="futz:foo; bar: blivitz;"> ?" -- well that's better directed to the readily available documentation (see, for example, http://www.w3c.org) or communities where .html is "Topic A." And if you don't know what's an appropriate site to post some particular question, you probably haven't taken the trouble to learn enough of the basics of the subject to guide you. And that does tend to make folks grumpy. | [reply] |
Re: Is CGI On-Topic
by Zaxo (Archbishop) on Jul 14, 2006 at 05:07 UTC | |
I consider a question about, say Apache, concerning configuration for running perl, to be on topic. Some monks may disagree, but I'll answer if I know. I also consider an off-topic question which admits a neat answer in perl to be fine. Of course, the querent doesn't know the question's ok and neither do the rest of us until someone spots the answer. I'm inclined to be liberal on this up to the point we get floods of lazy OT questions. This place would be really dull if all we could talk about were perl syntax. After Compline, | [reply] |
A reply falls below the community's threshold of quality. You may see it by logging in. |