Question by m_simin: How to cancel out of waiting for
On one line i have $ c =
I also have $ SIG{INT} = \&ctrlc; and later on
sub ctrlc { … }
How can i continue the script and skip the STDIN if Ctrl+C is hit?
Best answer:
Answer by martinthurn
You could try
$c =
CONT:
print “continued”;
sub ctrlc { goto CONT }
Know better? Leave your own answer in the comments!












