Web Hosting Talk







View Full Version : CGI/Perl with Windows


philman213
10-01-2004, 09:43 PM
Yes, I’m running Perl on Windows XP Home SP2.
Apache2 too.

Just getting into CGI/Perl, and could use some help. I have everything setup and all. I need to use a different form of sendmail, since sendmail is exclusive to unix. I’ve looked, and heard I need a third-party module. Went to cpan to see what I can find, but was completely overwhelmed. Not only do I not know which will work for windows, but I don’t know which would be adequate for my needs. On top of that, I have no idea how to install a module. I’ve looked at a few tutorials but either I’m stupid, or they aren’t written well. I couldn’t make any sense out of them. So to start, Id like some advice on where and what to download to use instead of sendmail. Then help on installing. :)

YUPAPA
10-01-2004, 10:25 PM
Hi~

You may want to try this command to install a module ~ :angel:

ppm install My::Module::Name

philman213
10-01-2004, 10:32 PM
I assume in DOS? In what dir...Still a little confused.
ppm install FirstBase? or First::Base...Confusion?¿?

YUPAPA
10-01-2004, 11:13 PM
Yes From DoS. You don't need to specify the directory.

What is the module name anyway? If it is named FirstBase, then:
ppm install FirstBase

If it is First::Base
ppm install First::Base

philman213
10-01-2004, 11:20 PM
I dont have a module. I was asking for suggestions on what module to get. I dont know where to begin. Shoud I search CPAN? Someone direct me to a good module?

Once I ppm install, where do those files go? Do I have to do anything else after that?

YUPAPA
10-01-2004, 11:25 PM
Originally posted by philman213
I dont have a module. I was asking for suggestions on what module to get. I dont know where to begin. Shoud I search CPAN? Someone direct me to a good module?

Once I ppm install, where do those files go? Do I have to do anything else after that?

Yes you should search cpan for the module you want.
They will be saved under:

C:\Path\to\Perl\lib

philman213
10-01-2004, 11:40 PM
What could I search for. I know very little about CGI/Perl, could you point me to which file I should download?

http://search.cpan.org/search?m=module&q=sendmail&s=1
Many to choose from. :rolleyes:

YUPAPA
10-02-2004, 02:21 AM
I think you need to get a mail server with SMTP working since windows do not have sendmail.

Try to have this installed and use the Mail::Sendmail module to send mail.

http://www.indigostar.com/sendmail.htm

philman213
10-02-2004, 02:24 AM
Seems alot more confusing than just picking one of those modules and installing them.

Burhan
10-02-2004, 02:45 AM
If you install the free ActivePERL from ActiveState (http://www.activestate.com), it comes with a friendly PPM manager.

philman213
10-02-2004, 11:53 AM
I already have ActivePerl.

SimplyDiff
10-02-2004, 12:19 PM
http://blat.net/

Often used as the "sendmail" replacement for Win.

philman213
10-02-2004, 01:24 PM
I think Ive decided to just use PHP instead.