If you really need it production ready in 6 months, of course you should use Perl 5. However, one alternative to all the suggestions made so far is to use the (not quite yet ready for production) Perl6::MetaModel which myself and a few others on the Pugs project are currently building.

It is basically an implementation of the Perl 6 object meta-model in Perl 5. It will eventually serve as the basis for the Perl 5 runtime when we complete the Perl 6 -> Perl 5 compiler. However, there is actually no reason you cannot use it outside of that compiler as a regular Perl 5 class builder. At the very least it makes it possible to design your Perl 6 classes in Perl 5, and be prepared for the shift to Perl 6, while still having runnable Perl 5 code.

Like I said, it is not ready for production, but it does have a good size test suite which has +90% code coverage (however, this stat is only useful for refactoring the metamodel itself as many corner cases surely need to be tested (and many too need to be coded)). Contributions to the test suite are very welcome, and contributions/comments and suggestion on the overall design are also welcome.

-stvn

In reply to Re: Develop in Perl 5 Or Wait for Perl 6? by stvn
in thread Develop in Perl 5 Or Wait for Perl 6? by garyberi

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.