Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install Email::Sender on windows?

I'm working with Perl on Windows. I will try to send mail with Email::Sender module. But I couldn't install module for Email::Sender.

like image 846
Selin Avatar asked Feb 21 '23 22:02

Selin


2 Answers

Assuming you mean the CPAN module Email::Sender (Perl is case sensitive), and not some other module that isn't in CPAN, then you use the package installer that came with your Perl distribution.

In most cases that will be:

cpan Email::Sender

There are more details and methods linked from the Getting Started section of the CPAN homepage.

like image 175
Quentin Avatar answered Feb 23 '23 11:02

Quentin


I used cpan Email::Sender command, and then output is like followings :

CPAN: Storable loaded ok
Going to read /home/user name/.cpan/Metadata
Database was generated on Wed, 04 Apr 2012 09:59:04 GMT
Running install for module Email::Sender
Running make for R/RJ/RJBS/Email-Sender-0.110005.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/user name/.cpan/sources/authors/id/R/RJ/RJBS/Email-Sender
-0.110005.tar.gz ok
Scanning cache /home/user name/.cpan/build for sizes
sh: /home/user: No such file or directory
/bin/tar: This does not look like a tar archive
/bin/tar: Exiting with failure status due to previous errors
Uncompressed /home/user name/.cpan/sources/authors/id/R/RJ/RJBS/Email-Sender
-0.110005.tar.gz successfully
Using Tar:/bin/tar xvf /home/user name/.cpan/sources/authors/id/R/RJ/RJBS/Em
ail-Sender-0.110005.tar:
/bin/tar: /home/user: Cannot open: No such file or directory
/bin/tar: Error is not recoverable: exiting now
Couldn't untar /home/user name/.cpan/sources/authors/id/R/RJ/RJBS/Email-Send
er-0.110005.tar
like image 22
onur taskin Avatar answered Feb 23 '23 13:02

onur taskin