http://www.perlmonks.org?node_id=1005838


in reply to Re^2: CTRL+C Handling in Perl Threads
in thread CTRL+C Handling in Perl Threads

I am working on FreeBSD.

First example showed me SIG_INT message with correcting a few typo. This time also shows me message like

0 - Sleeping 14
^CReceived Interrupt. Stopping Main Program   <==pressed ctrl+c
I wonder why?

Could you send SIG INT from another terminal? I mean by kill command.