While Perl provides an obvious answer for many problems (such as implementing sequences as arrays as you mention), I think that you're right in saying that usage of these idiomatic expressions is highly dependent on their knowledge of the Perl language.
If there's one thing that I learned from teaching a college class in Perl, it's that some people learning Perl can come up with some amazingly creative (and often horridly inefficient) solutions to problems that have already been solved in some animal-themed book. For example, I had one kid who just loved storing sequences of single characters in an array. Something about it just sat right with him. Sometimes it's gotten to the point where I can recognize cheating on a project based on the bizarre idioms that are suddenly transferred from one person to another.
-
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>
<u> <ul>
-
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
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|