http://qs321.pair.com?node_id=988031


in reply to Re: Calling Control-C in linux - Perl equivalent
in thread Calling Control-C in linux - Perl equivalent

I am struggling to use SIGINT. Because when I try to install it cpan says that it came with the dist. and that force install would have to be used. However when I try to run the program:
Can't locate POSIX/SIGINT.pm in @INC (@INC contains:

Replies are listed 'Best First'.
Re^3: Calling Control-C in linux - Perl equivalent
by lidden (Curate) on Aug 17, 2012 at 17:57 UTC
    use POSIX; say POSIX::SIGINT;
    You seem to be trying to include the module POSIX::SIGINT, that is not what you want to do.