Frequent Question: How Do I Run a Perl Module in Linux?
Contents How Do I Run a Perl Module? Generally, Run Perl -I Path Script, Where Path Is the Path to a Directory That Contains a Perl Module and Script Is the...
Contents
How do I run a Perl module?
Generally, run perl -I path script, where path is the path to a directory that contains a Perl module and script is the path to the Perl script itself. For example, to use a module installed in your home directory with cpanm, enter perl -I $HOME/perl5/lib/perl5/ script and press Enter.
Must Read
How do I install Perl modules in Linux?
Install Perl modules using Cpanminus
- Using Perl: To install latest cpanm version on your Linux system, just run: $ curl -L | perl – –sudo App::cpanminus. …
- Using distribution’s package manager: cpanm is also available in the default repositories of several Linux distributions. …
- Manual installation:
30 янв. 2020 г.