I'd strongly suggest you skip the Word step. Maybe you'd be happier using something like nano (*nix's equivalent of notepad) instead of vi, unless you are comfortable using vi.

A good learning technique is to add very small amounts of code at a time and run the code to check it does what you expect. Although you have yet another tool to learn, learning to use the debugger even just a little bit can help a lot in understanding what your code is doing. There are many other debugging techniques than just using the debugger, but in my view a good debugger gives much better direct information about what your code is doing than any other technique.

It is also important to understand why you are getting error with strict and warnings. Almost always they are telling you about badness in your code. If you don't understand an error, reduce the code to a minimum that shows the error and bring both the code and the exact error message (copy and past is your friend) here and we will help.

Perl is the programming world's equivalent of English

In reply to Re^5: unix to perl questions by GrandFather
in thread unix to perl questions by deyaneria

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.