One of the biggest limitation of Perl 6 is the lack of access to the wealth of the Perl 5 CPAN. This does not mean though that there are no CPAN-like modules for Perl 6. There are a few, and some of them even work.
According to the latest count, there are over 100 modules available. Let's see how can we install them.
In the current system each package must have a Github repository. There are no releases. The installer fetches the latest from Github.
The official list of modules has a one-line explanation of each module and a link to their Github repository.
There is not a lot of module documentation, but whatever there is, is processed and displayed on the Perl 6 Maven site.
Assuming you already have Rakudo installed, you can install Panda by following these steps:
git clone https://github.com/tadzik/panda.git cd panda perl6 bootstrap.pl
This should install a few modules and Panda itself to ~/.perl6 on Linux and to c:\Users\USERNAME\.perl6 on Windows.
You have to change the PATH environment variable to include the ~/.perl6/bin directory.
Then you should be able to run panda list to list all the available modules and panda install HTML::Template to install the Perl 6 implementation of HTML::Template.
When you encounter installation problems, please report them either via the Perl 6 IRC channel or via the Perl6-users mailing list. Check the Perl 6 community page for details.
Published on 2012-08-26