Error Perl: Can not locate Mail / Box.pm

0

I'm starting with perl and I'm using use Mail::BOX but it gives me the following error;

Can't locate Mail/Box.pm in @INC (you may need to install the Mail::Box module)

But I'm looking for documentation on the Internet to install the module and I do not get it.

I'm working with Ubuntu 16 and the perl version is 5.22.1

    
asked by Luis Alfredo Serrano Díaz 05.12.2018 в 17:25
source

1 answer

1
sudo apt install libmail-box-perl

When you want to install a module, first look to see if it is in the package system of your operating system. If not, use the cpan (or cpanm if installed) command to do the installation. If not, on the metacpan page, in the corresponding to the Mail :: Box module, there is an installation file that explains the process manually.

More information in this thread of the forum perlenespanol .

    
answered by 05.12.2018 в 18:45