Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Send signal to perl script

by ladyscifi (Novice)
on Sep 28, 2012 at 20:54 UTC ( #996293=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    sub INT_handler {
    ...
        print("$x\n");
        sleep 1;
    }
    
  2. or download this
    Perl\bin\perl.exe -e "$cnt = kill SIGINT, 14184; print $cnt"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://996293]
Approved by Old_Gray_Bear
help
Chatterbox?
LanX OS builds on multitasking humor ...
[LanX]: ... next release comes with even more random puns!

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-07-28 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (426 votes). Check out past polls.