in reply to Win32 Interrupts
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:
Unfortunately, when I hit CTRL-C, the program stops on a dime.#!/usr/bin/perl -w use strict; $SIG{INT} = 'IGNORE'; my $count=0; while (){ print $count++; }
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
|
|---|