![]() ![]() The Perl module cpanm (CPAN Minus) is another alternative for installing modules from the CPAN library cpanminus.pm.Ĭpanm can be installed and used like this on a UNIX-like system: This will load the CPAN module, and let you search for, download, install, and manage the modules on your computer the same as PPM. If you're using a normal version of Perl, the way to activate the package manager is this: Once you know the module is available and what its exact name is, you can install the module with: That will give you a list of modules that match your search query. For example, to install the Time::HiRes module, type: This will give you a "Perl Package Manager" prompt, which allows you to download and install modules from the internet. Look for modules on CPAN Installing modules With ActivePerl (Windows systems) CPAN.pm is also the name of the Perl module that downloads and installs other Perl modules from one of the CPAN mirror sites such installations can be done with interactive prompts, or can be fully automated. Most or all of the software on CPAN is also available under either the Artistic License, the GPL, or both. ![]() 1.4 Contributing your own modules to CPANĪ huge collection of freely usable Perl modules, ranging from advanced mathematics to database connectivity, networking and more, can be downloaded from a network of sites called CPAN.1.3.3 Windows systems running Strawberry Perl.1.3.2 Windows systems running ActivePerl.1.1.4 With Strawberry Perl (Windows systems).1.1.1 With ActivePerl (Windows systems). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |