When we running Perl script, we should get the following error at least once. Just so find Step to install missing Perl Modules.
Can't locate Foo.pm in @INC
here, that Foo.pm can change by any other Modules. Like,
Can’t locate CPAN.pm in @INC
Can’t locate Inliner.pm in @INC
Can’t locate Net/SSH/Perl.pm in @INC
Can’t locate new.pm in @INC
Can’t locate Expect.pm in @INC
Can’t locate boolean.pm in @INC
Can’t locate JSON.pm in @INC
Can’t locate Archive/Tar.pm in @INC
Can’t locate LWP/Simple.pm in @INC
Can’t locate Box/Core/Utils.pm in @INC,…
In Windows
If using ActivePerl in windows, that PPM (Perl Package Manager) can do it simple by following sample code,
# ppm
ppm> search net-smtp
ppm> install Net-SMTP-Multipart
To avoid this kind of problems, give more priority to following kind of Perl Packages,
>> Debian/Ubuntu: apt-cache search 'perl$'
>> Arch Linux: pacman -Ss '^perl-'
>> Gentoo: category dev-perl
In Unix
In shell, start with cpan
# cpan
then type
install Chocolate::Belgian
or type same code in short form. Like,
cpan Chocolate::Belgian
For More CPAN-FAQ
Latest posts by KarSho (see all)
- Step to Install JOOMLA in WAMP Localhost - March 30, 2020
- ‘Your Projects’ Links Not working in WAMP Server - March 29, 2020
Thank u sir