Q: What code should I write to start with? A: Something that sounds interesting.

Sounding interesting shouldn't be the only requirement. An understanding of the problem space or the ability to gain that understanding quickly should also be a prerequisite. And, since we are talking about Perl, Perl should be an appropriate language to use to solve the problem.

Q: Should I write one-liners? A: No, write real-world code. One liners are for people who don't know what the word "maintenance" means. Write real-world, reusable code.

There is nothing wrong with writing one-liners when they are called for. There are plenty of one-time tasks that can easily be solved in one line. Trying to get a one-liner right can sometimes be educational too. Anything that increases your familiarity with Perl might be considered a good thing. Just don't always resort to a one-liner. If you are going to have to do the same task tomorrow or next week, write script and improve it over time.

Q: What license should I release my code under? A: The GPL. It is solid, relatively tested, and will ensure your code remains free.

It continues to be tested and that indicates that its solidity isn't a foregone conclusion. (I imagine it will weather the storm pretty well, but I'm not a lawyer nor would I try to predict the U.S. legal system.) Also, the GPL won't "ensure that your code remains free" any more than a copyright will ensure that your favorite band's newest album won't be shared on Kazaa. It will give you legal recourse, however, if you can prove that someone is in violation. Finally, the GPL is rather restrictive. You might wish to use a BSD style license instead. Really, licensing is a personal choice. Writing your own is probably a very bad idea though. Go to http://www.opensource.org to learn about some good choices. Pick the one that best suits your intentions.

-sauoq
"My two cents aren't worth a dime.";

In reply to Re: Re: Where does one get experience? by sauoq
in thread Where does one get experience? by UberGeek27

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.