User friendly programs for the web - Pay Pal Shopping Carts, Classifieds, Site Replicators
Subscribe to our mailing list           Perl programs for Windows and Unix/Linux.
Search Site  
Navigation

Home
Main Scripts Page
Help Desk
Contact Us
Ranson's Blog
Site Map

Programs


Free Scripts
Link Exchange
Links

<- Back to Webmaster page

Perl and CGI resources for windows servers.

WinPerl
By: Richard Kuzsma
WinPerl has been created to assist in debugging Perl scripts. WinPerl does not compile Perl scripts. Instead, it runs an outside Perl compiler for Windows and gathers its output. You're free to try WinPerl for 30 days.
System Requirements: Windows 95, 98, NT, 2000, Xp
Purchase Information:: Shareware: Free to try, US $10 if you decide to keep it.

Ultra Edit
Simply the best text editor for Perl, HTML, php, java, etc. you can associate the editor with perl and run your scripts right in the editor! Screen Shot for setup install perl first. Perl Downlaod

Perl for Win32
Perl for windows. and IIS Servers - Perl5 for win95, NT and 2000.

Tiny Web server
A web server you can run on win32 or NT. TinyWeb along with Perl5, will allow you to work on cgi on your Win9x, 2000 machine interactively.

Apache for Win32
A great web server for Windows machines.

CGI Modules
1000's of ready made modules to use with your CGI scripts

Perl.Com
Complete resources for learning Perl and documentation

SendMail for Windows
NetMailBot is the most robust, feature packed, and professional command-line mailer on the market today. Download.Com

Xmail
XMail is an Internet and intranet mail server featuring an SMTP server



Perl
Perl was originally a UNIX scripting language, but has now been ported to Windows. The syntax and structure of Perl is the same on Windows machines as it is on UNIX machines, although there are a few changes that need to be made to UNIX based Perl scripts in order to make them compatable with Windows machines. The main stumbling block with windows is sending e-mail. We offer a free module to make life easy for you in setting up your script for windows mail. (see below)

Setting up a web server on windows
1. Install your web server, IIs, or other server
2. Install ActiveState Perl, use the MSI installer
3. In the IIs manager make sure .pl is associated with Perl - Screen Shot

ActiveState Perl is freely available and can be downloaded from   
http://www.activestate.com/, along with extensive documentation.

Testing Scripts
If you download and install ActiveState Perl, then you can build and test scripts offline, saving yourself a lot of time and trouble. To test a script offline, open an DOS window (command prompt), change to the directory of the script you want to test, and type:
perl myscript.pl
This will show you the output of the script.

If you set up a Personal Web Server in Windows, then you would type the address to the script in your browser. This address is usually    http://localhost/YOUR-SCRIPT.pl. Testing your scripts in this way makes life much easier and faster to debug.

Path to Perl
UNIX scripts require you to provide the path to Perl. This is not required in Perl scripts in Windows*.
The first line in a UNIX Perl script will normally be something like:
#!usr/bin/perl.
If the web server is Apache for Windows, you may need to set the path to perl.
#!C:/perl/bin/perl

Usefull links for path and permission help
Win32 Path Help
Win32 Permissions
Path Test


File Extensions
UNIX Perl scripts normally use the .cgi file extension. Perl scripts on most windows systems use the .pl extension.

File Permissions
UNIX documentation will often advise you to set file permissions (CHMOD) to 777 (or similar). This is unnecessary in the Windows version of Perl as scripts inherit permissions from the Windows operating system. Win32 Permissions


Sending mail with windows
UNIX perl scripts often use an external mail program called 'sendmail'for sending email. For windows servers there are many many mail servers available. If you have a script that was written for Unix, you will have to modify the mail section to be compatable with windows.

We offer free modules to send mail on Windows servers. All you needis access to an SMTP server. very simple to setup and use.SendMail.pm is required for operation. smtp-mail.pm

Checking Perl Version   perl -v
At the command prompt (dos window) type: perl -v

Misc Links related to Perl for Win32 and NT


 
 
© Ransons Scripts all rights reserved.