CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
how to handle signal after telnet to remote machine

 



saurabhsharma
Novice

Mar 20, 2012, 10:58 PM

Post #1 of 1 (2237 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 ??

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives