in reply to Win32 Interrupts

Bummer. It appears to be a portability issue here (as far as I can tell). I'm using examples straight out of the Cookbook and they don't work. I even tried setting $SIG{INT} = 'IGNORE';, but to no avail.

However, I searched the perlbug database and couldn't find a problem like this. In fact, I verifed that others are successfully using %SIG, so I assume that I must be misunderstand something. So let me see if I understand this. The following should generate an infinite loop which should do nothing but fill the screen with numbers and cannot be broken out of with CTRL-C:

#!/usr/bin/perl -w use strict; $SIG{INT} = 'IGNORE'; my $count=0; while (){ print $count++; }
Unfortunately, when I hit CTRL-C, the program stops on a dime.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just go the the link and check out our stats.