Anyone play with signal handlers on the Win32 platform?  Specifically,
I'm trying to print a message when <CTRL-C> is pressed but I'm getting
nowhere:

This works on my linux box.  CTRL-C (while waiting for user input)
prints "This works".  However, this doesn't work at all on my Win32 (XP)
Platform (normal CTRL-C functionality remains).

------------------------
local $SIG{INT} = sub { print "This works\n" };
print my $a = <>;
------------------------

I've done some Googling and found that other are having the same issue.
One guy even mentions that this used to work in 5.8.6 versions of
ActivePerl but since upgrading to 5.8.8 it has stopped working.  Anyone
know more about it?

Bill Ng
Assistant Vice President
Equity Client Technology Services
212 723-4923

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to