Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The title pretty much says it all.

In the same way that Arch Linux has Python 3 as the built-in/main version of Python, are there any Linux/Unixish distros that have done the same with Perl 6? I know that, even compared to the Python 2/3 incompatibilities, the jump from Perl 5 to 6 breaks a lot of code, but I'm still wondering if any distro, even a hobby-shop one, has set it as default anyway.

share|improve this question
    
I don't believe there are, Perl 6 is still very slow (and while most Perl 5 stuff should run under Perl 6, there are no guarantees... and why risk it?) –  vonbrand Feb 14 '13 at 19:26
add comment

2 Answers

up vote 1 down vote accepted

I have Fedora 17 and sometime ago i updated Perl to version 6 using yum. The problem is that default symbolic links still referred to previous version. I had to change the symbolic links for it to refer to new update.

Look for appropriat file in http://rpmfind.net/linux/rpm2html/search.php?query=rakudo-star. Then correct the symbolic links to get it working.
Remember that some perl based applications can crash after this, so evaluate how much you need perl6. You can create new/different links to perl6 if you know that you use some perl based application that still uses perl5.

share|improve this answer
add comment

(Completely rewritten.)

I'm not aware of any.

Some key issues:

  • Rakudo, the "reference" Perl 6 compiler, doesn't currently attempt to compile Perl 5 code.

    (One day either v5 -- which has been started -- and/or p5interop -- which has not been started -- may mean Rakudo does successfully compile/run P5 code.)

  • Perl 5 is used for the build/configure systems of several key Perl 6 components. So any system with Perl 6 on it probably needs to also have Perl 5 on it at least in the short to medium term (years).

  • The current approach is to name the compiler executable 'perl6'. You'd have to tinker to have 'perl' invoke a Perl 6 compiler. And you'd need to deal with the previous point (building P6 requires P5).

share|improve this answer
    
I get why people don't like Perl 6. I understand that it breaks way more Perl 5 code than Python 3 broke Python 2 code. I still would like to know if this is possible. –  Zac B Feb 15 '13 at 23:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.