How to install Perl Modules using Strawberry Perl CPAN

Installing Modules using Strawberry Perl

On Windows
  1. Click Start
  2. Type CPAN and the CPAN Client should appear.
  3. You can also find it in Strawberry Perl --> Tools folder

Installing Perl Modules from the command line

Change the directory
cd C:\Strawberry\perl\bin

Then within the C:Strawberryperlin directory type cpan File::Slurp

C:\Strawberryperl\bin> cpan File::Slurp

and the module will install automatically.


Visit sunny St. George, Utah, USA

Get In Touch

We would love to hear from you.

Please enter your email address.
Please enter a valid email address.
Please enter a message.
Please check your message for any errors.
Your message has been sent successfully.
Sorry, an error occured sending your message.
* required