I too gave an answer in to this particular post. I thought about the fact that it was likely a bad idea, but I thought of the plugin system that Aristotle pointed out and so didn't consider putting in a warning--I think that perhaps I should have, but nothing as severe as saying, "I'm sorry, but something about this train of thought makes little or no sense."
My opinion is that we can have it both ways. I think it's pretty unwise to assume that we have the answer for someone else's situation when we only have their one question. I also think that part of Perl's mystique is that it's alright to sometimes solve a problem the "wrong way" for various reasons. At the same time, I think we should be careful to point out when a certain action might not be a good idea.
There's no reason to be presumptuous and state, "Don't do that!" All we have to say is, "In general, that's probably not a good idea because of X." Then, they can make the judgement call, "Is my situation such that I'm willing to face X in return for some benefit Y."
It bothers me a little when Perl hackers persecute each other for doing things the wrong way (TMTOWTDI) when much of the rest of the information technology world persecutes us for using the wrong language. Thus, make your recommendation to help someone who might not have thought of a given problem, but remember that there are no hard-fast rules in Perl, so any guideline may be wrong for their situation.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.