in reply to Is there a way disconnect from database
$SIG{INT} = \&some_subroutine; [download]
$SIG{INT} = 'IGNORE'; [download]