How do I run a Perl module?

Man Ly

New member
How do I run a Perl module?
Answer
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.
 

Tìm kiếm

Back
Top