September 2017
Beginner
402 pages
9h 52m
English
To install a module, use the install command and give the module name, for example:
$ zef install XML
Before installing a module, you can quickly check whether you already have it installed by asking Perl 6 to load a module with the -M command-line option:
$ perl6 -M XML -e1
If there's no such module, you'll get an error message listing the folders that Perl 6 scanned in its attempts to find the module:
===SORRY!===Could not find XML at line 1 in: /Users/ash/.perl6 /Applications/Rakudo/share/perl6/site /Applications/Rakudo/share/perl6/vendor /Applications/Rakudo/share/perl6
So, let's install it. If everything goes well, the module will be installed and you can immediately start using it. The output of the installation ...
Read now
Unlock full access