I think it is important to remember that sometimes it is
difficult to know what to look up in the documentation.
I'll give an example from my own experience. When I first used
PerlMonks, I was very new to Perl (5 days or so) and I
was trying to search for all the positions of a regrex in a
string (original post
here). I knew about index,
but had not yet come across the pos function in my reading.
Sure, I would have read about it eventually as I learned the
language, but I was learning the language by writing this
program. Maybe I was over-reaching, but I was trying to solve
a problem. I couldn't look up a function I didn't know the
name of, so I posted a simple question.
The two excellent responses by
Russ and
btrott were just what I needed. They gave me
the answer (the pos function), a little about the function,
and even some sample code. From there, I was able to look up
more on the pos function and continue programming and learning
perl without delay.
Without knowing about pos, it would have taken me a while to
discover it on my own. There are definitely questions that
are too basic, but (aside from homework questions) they really
don't hurt anything.
If you feel a question is too simple, just don't answer it.
That might let someone a little less experienced in the language
answer it and help someone out.
Again, my thanks to Russ and btrott, who helped me with what
was a simple question.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.