Ng, Bill Sent: Thursday, April 20, 2006 8:10 AM

  > 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?
  
  That works on 5.8.4, XP-Pro, cmd window.

  --Suresh

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

Reply via email to