Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get started with Perl 6? [closed]

I'd like to get your opinion on How to get started with Perl 6? Shall one use Rakudo which is being build on Parrot or still better go with the Pugs implementation?

If Rakudo, what is the best way to install it? The monthly releases of Parrot, right from the SVN of Parrot, other?

like image 805
szabgab Avatar asked Jan 23 '09 18:01

szabgab


People also ask

Is it still worth learning Perl?

While Perl might seem like an outdated scripting language, it still has plenty of relevant uses today. If you love UNIX/Linux/BSD like me, then you have definitely learnt Perl and programmed in it. I am pretty certain you have also used Perl more than once, perhaps several times.

Is Perl easy to learn?

Is Perl difficult to learn? No, Perl is easy to start learning --and easy to keep learning. It looks like most programming languages you're likely to have experience with, so if you've ever written a C program, an awk script, a shell script, or even a BASIC program, you're already partway there.

What is Perl 6 called?

Raku is a member of the Perl family of programming languages. Formerly known as Perl 6, it was renamed in October 2019. Raku introduces elements of many modern and historical languages.


1 Answers

Notice the date on my answer. I'll leave it here, but it's not how the world is anymore. See raiph's answer.


I'd recommend using the latest monthly release of parrot from either the Parrot site or the parrot release on CPAN. I've found that sometimes the latest stuff in trunk/ doesn't work for whatever reason. That's just to get started.

Once you're started and brave enough, the bleeding edge stuff might be more appropriate. The Parrot download page has the repository details.

Note, however, that you shouldn't install parrot. Unless they've fixed this since last I looked, having parrot installed messes up the build process. Make it in it's source directory, but don't use the install target. You can still build languages/perl6 and create the perl6 target and install that where you like.

I gave up on Pugs because installing the latest GHC was always such a pain. I haven't looked at it for awhile though, but every new Pugs release seems to require a GHC upgrade. Maybe that's more sane now.

like image 99
brian d foy Avatar answered Oct 12 '22 12:10

brian d foy