Perl: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
Created page with 'This is a Guide to using Perl, and installing and fixing modules. === Installation commands === You can install a module with the following command. cpan -i You can force an…'
 
No edit summary
Line 1: Line 1:
This is a Guide to using Perl, and installing and fixing modules.
This is a Guide to using Perl, and installing and fixing modules.
One of the cpan mirrors that can be used for reference on modules names and requirements.
http://www.cpan.org/


=== Installation commands ===
=== Installation commands ===

Revision as of 05:56, 11 December 2010

This is a Guide to using Perl, and installing and fixing modules.

One of the cpan mirrors that can be used for reference on modules names and requirements.

http://www.cpan.org/

Installation commands

You can install a module with the following command.

cpan -i 

You can force an installation of a module with the following command.

cpan -fi 

Will show you the contents of the @INC, Which is essentially the path's that the installer is going to pull from and look in.

perl -V

In the event that a forced installation does not work, take the above command perl -V and look for what you are trying to install and remove it manually.