September 2017
Beginner
402 pages
9h 52m
English
To uninstall a module, use the uninstall command:
$ zef uninstall XML===> Uninstalled from /Applications/Rakudo/share/perl6/siteXML:ver('0.0.2'):auth('Timothy Totten')
If a module was installed together with its dependencies, they will not be removed. For example, let us try uninstalling the XML::XPath module, which we installed in the Installing a module section earlier in this chapter:
$ zef uninstall XML::XPath===> Uninstalled from /Applications/Rakudo/share/perl6/siteXML::XPath:ver('0.9.0')
That's all. Other dependent modules, for example, JSON::Class, are still there:
$ perl6 -MJSON::Class -e'say 1'1
Read now
Unlock full access