Solved

ActiveState Perl (PerlIS) and Fork() on Windows 2000

Posted on 2004-08-21
3
372 Views
Last Modified: 2008-03-10
I am trying to implement a Perl script that uses a call to the fork() function in Perl using ActiveState ActivePerl 5.8.4's PerlIS.exe.  I have read many posts saying that fork() is not often implemented in Windows perl implementations, but after looking at the ActiveState website, it appears that they have created a fork() function to emulate the unix function.  

However, any time I run the script I get the error:

fork() is not implemented in PerlIS

So, is there a way I can use this function on windows?  Does the ActiveState perl program allow the fork() function and can i configure IIS to use this instead of PerlIS?  Or does anyone have a recommendation for another perl implementation to use on windows?  I MUST use Windows and MUST use the fork function.
0
Comment
Question by:rawdrib
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
mishagale earned 500 total points
ID: 11859922
I've tried with activePerl v5.6.1, and fork() seems just fine. Maybe it is only unimplemented in Perl for ISAPI. Try configuring IIS to use perl.exe as a CGI program, rather than PerlIS. Note that this may adversly affect the performance of your scripts. You can get info on configuring this from the ActivePerl docs, somewhere like file://localhost/C:/Perl/html/faq/Windows/ActivePerl-Winfaq6.html
(where "C:/Perl/" is the path where ActivePerl is installed.)
0
 
LVL 2

Expert Comment

by:mishagale
ID: 11859928
Also, you say that you MUST use windows, but do you have to use IIS? If you still have trouble, you might try the windows build of Apache, which will use CGI perl or mod_perl quite happily
0
 

Author Comment

by:rawdrib
ID: 11860207
I forgot the "%s" %s when i tried to configure the application to use Perl instead of PerlIS.  The application works fine with Perl.exe. Thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question