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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |