
saurabhsharma
Novice
Mar 20, 2012, 10:58 PM
Post #1 of 1
(2140 views)
|
|
how to handle signal after telnet to remote machine
|
Can't Post
|
|
I have a perl script which handles Ctrl+C and calls a sub routine as $SIG{'INT'} = 'abortSetup'; everything works fine but when the same script telnet to another machine using Net::Telnet and Ctrl+C is pressed, the script exits without calling the trapped subroutine ("abortSetup" in this case) how to handle the signal after telnet ??
|