in reply to Logging interrupt signals

You want to look at sh$ perldoc -q signal - this shows you how to add entries to the SIG hash - e.g.

$SIG{INT} = sub { $Interrupted++; syswrite(STDERR, "ouch\n", 5); }

cheers


davis
It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of TV a day.