it wasn't meant as a horribly detailed tutorial. It was meant as a VERY simple tutorial for those that might have not understood why the functions were used. I had it on the computer and i decided to add it to the 'tutorials' section cuz there were no other tutorials on the subject. I didn't use $_ because it might have very well confused those starting out. When in my comment i used 'return', i did not mean literally, i just meant it would 'output' and i feel the need to chomp arrays or hashes cuz again, i wanted it to be a very simple tutorial. I very well understand why you downvoted the tutorial and hope the explanation i gave helped you understand why i wrote it very basically :).
-
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.
|