Help for this page

Select Code to Download


  1. or download this
    while (1) {
        # get the date
    ...
            sleep 86400;
        }
    }
    
  2. or download this
    my $interrupted = 0;
    $SIG{INT} = sub { $interrupted = 1; &save_file; die; };
    ...
            sleep 86400;
        }
    }