Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print "program started \n";
    while(1){sleep 1;}
    
  2. or download this
    use sigtrap 'handler' => \&myhand, 'INT';
    
    ...
    print "program started \n";
    while(1){sleep 1;}