Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Learning a new langauge by using it for new (always urgent) projects doesn't often work.

You find yourself sitting there frustrated to hell trying to work out how to do something trivial, that you know you could do in your old langauge almost without thinking, and you usually revert because of the time pressure.

And if you try coding all those nice-to-have-but-you've-never-found-the-time-for projects that have been kicking around, you'll never finish them because there's no pressure to do so.

Make a list of the old language programs that get most use or require most maintenance and sort them by loc ascending in a scratch/private directory. Then try setting aside 30 minutes a day or whatever suits your schedule and go through them one-by-one in order and do your best job of converting them to Perl. Don't sweat the detail of testing and robustness on your first pass. None is ever going to use them for real. The idea is to force yourself to just work out a way to tackle those familar tasks in the new language. As you go through them, you'll find better ways of doing things you've already done earlier. Maybe go back and update those earlier attempts..

One day soon you'll need to write something, and the Perl solution will pop into your head before the old language solution does. At that point, if the new script is anything other than a throw-away, you'll probably still need to write it in the old language because of testing/robustness. But then is the time to set up a more formal attempt to do the same thing in Perl in parallel, and perhaps post your attempts here for critical review.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re: seeking direction to start with perl by BrowserUk
in thread seeking direction to start with perl by jbakshi

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (5)
    As of 2018-04-19 10:22 GMT
    Find Nodes?
      Voting Booth?