Just as a reminder -- this section is not about hiding code so others can't see it.
This section is about posting code that makes use of clever mechanisms and "whose function is not immediately apparent to anyone" (Where should I post X?). You might have noticed that one of the goals people have when code is posted here is to immediately de-obfuscate it and analyze the way it works :). You might ask yourself why someone might want to do this...
- It can be artful, and therefore appreciated as art.
- It can teach about in-depth perl principles.
- It is an intellectual exercise.
- It helps you to show off how smart you are ;-).
- Analyzing such code helps you to improve your code-reading skills.
Code posted in this section definitely is not the thing you'd want to use in a commercial application, for various reasons.
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.