I have used a large variety of resources to learn perl. This includes books, websites, code snooping etc. I have no formal training, I am taking the same approach I first took with html and with mIRC script. Trial and error. My first program I used strict..
I had no idea how I would shame myself by not using it and other such things here. Quite honestly I was pleased to get this little program to work, I didn't concentrate on perfect code. Well that is one of the reasons I posted it here. So far I have been given very broad examples of what I have done wrong and I have started looking up these references on perldoc.org.
Does anyone have any more accute examples for this particular piece of code? Where/how does it need to be improved. I am definately here to learn more about perl, I can see this should not have been posted as a Craft as evidently that is where the guru Monks post their perfectly written code. I apologise for this.
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.