installing Modules
Jump to navigation
Jump to search
What are modules
The modules are usually complements open source and free, which serve to add commands and functionality to Perl. They are usually released on CPAN - Perl library modules.
Installation
Active Perl
Active Perl offers a program to download and install modules with a user friendly interface, called Perl Packet Manager (PPM), and a different mirror. The service is paid.
How to install modules using the PPM:
- Open Perl Package Manager (Start -> Run -> 'ppm')
- In the graphical interface that appears, search for the modules using the text field above and select the modules you want to install or upgrade
- After mark modules, click the green arrow to start the download and installation
Strawberry
The Strawberry offers a console program to download and install modules directly from the official repository, CPAN. The service is free.
How to install modules using the Strawberry:
- After installing Strawberry, open the CPAN Client (In Windows Vista and later, just search on the start menu by CPAN)
- In the console, use the following command to install modules:
- install <module name>
Note: If the module has - in its name, substitute to ::. For example: Protocol-WebSocket should be typed Protocol::WebSocket