Hello...
Having some of my first experiences with Win32 Perl. I am running into a problem with a server app I am writing. It is a pre-forking server, per recipe 17.12 in the Cookbook. I'm using the following code in the sub that spawns the child processes, but I am receiving an error that the particular method call I'm using is not supported on this platform. (NT 4.0) I'm using:
my $sigset = POSIX::SigSet->new(SIGINT);
The error I get on that line is:
POSIX::sigemptyset is not implemented on this architecture at line 89
The line of code above is the offending line 89. Is there a way to do this without using the POSIX object method calls? Is there a way to do it on NT period? I am new to NT development, and sadly, most of the perl books are written for unix systems.
Thanks.
-HaB
hword.
In reply to SIGINT help
by HaB
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.