How's developing CGI/PERL different in NT?

They have: 62 posts

Joined: May 2000

OK, all my CGI has been on UNIX, but now I need to develope some on NT. How's it different?

They have: 10 posts

Joined: May 2000

It really depends on what you're doing and how much you rely on system calls to achieve your ends.

Other than that, in all the CGI work I've done, the only differences I've had to cope with are:

1. No such thing as permissions so far as chmod() is concerned with perl scripts.

2. You have to specify a full path for "require" to include other CGI modules in the same directory, whereas in UNIX you don't have to.

3. Permissions, permissions, permissions. Depending on how the server and IIS (if that's the web server your using) is configured you will have to work a little on getting the settings correct especially for writing and deleting files.

4. If you use a lot of back ticks (`) in your code or system() calls you will have to find the Windows command line equivalent.

There are, of course, a plethora of additional perl modules (have a look at http://www.activestate.com) available to you if you want to start interrogating the registry, creating of NT accounts, and other WindowsNT/2000 architecture-specific stuff.

Regards,
Jonathan Michaelson

Way to the Web Ltd
Commercial CGI Scripting
http://www.waytotheweb.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.