But will it run on Perl 6 when it becomes the default Perl installation?
Unlikely (although promises have been made implementors of Perl6 will know how to run Perl5 as well - considering how hard it is to keep 'perl' running Perl5, I wouldn't want to bet that once Perl6 is available, it'll run all Perl5 code. Furthermore, which version of Perl5 will it run? 5.6, the version of Perl5 that was current when the Perl6 effort started? 5.8? 5.10? 5.12? And will that be just pure Perl, or will that include XS as well?

But it's certainly not the time to worry about it now. Perl6 hasn't been close to be production ready, and even when it's production ready, (Linux) distros have to pick them up, and then hosting companies have to start supporting them. Considering that after a year of 5.10 being available most hosting companies still offer 5.8 (or even 5.6), I wouldn't count on having to worry about Perl6 in the half dozen years. Some years ago, people tried to guess the Perl 6 release date. Most guessed dates have passed years ago.

Personally, I'd be surprised to see a useful perl6 out before 2015. And I wouldn't be surprised if I never have to code in perl6 because it either never gets finished, or it just won't catch on the say Perl5 did.

So, to sum up, I don't think it make any economical sense to spend time worry whether the code you write today will run on perl6. When (if) Perl6 comes around, your code has been rewritten for some other reason anyway.


In reply to Re: From Perl 5.10 to Perl 6 by JavaFan
in thread From Perl 5.10 to Perl 6 by Anonymous Monk

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.