Good day to all! I'm about to start writing a few scripts and modules for Yet Another Project on my plate, and wanted to get some advice from others on what version of Perl they currently target (today).

Most of the modules will be OOP related, so it's a matter of use vars vs. our and #!/usr/bin/perl -w vs. use warnings for me. Most of my Perl learning started with 5.6.x installs, while my 5.00x exposure is simply due to base installs on FreeBSD/Linux servers.

On my *mumble* Windows workstation, I have ActiveState Perl v5.6.1, on one FreeBSD server I have Perl v.5.6.1, and on the live FreeBSD server I have v5.005. I'm not to keen on upgrading the live boxen to 5.6.1, since I would have to reinstall a fair amount of modules, and hence a lot of testing.

So, my questions are many fold:

  1. Assuming I stick with 5.005 on the live box, but are developing under 5.6.1 elswhere, is there a good set of docs (in addition to the perldeltas) about developing downward?

  2. Is there a list somewhere on what versions currently ship with the major operating systems?

  3. Depending on the question above, is it time to cast aside 5.005 for new development? What is the audience developing for currently? 5.00x, or 5.6.x?

I know some of this comes down to "what is your target audience", if there will even be one. But I'd hate to paint myself into a corner for no particular reason.

-=Chris


In reply to Target version: 5.00x or 5.6.x? by jk2addict

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.