Help for this page

Select Code to Download


  1. or download this
    my $stop = 0;
    $SIG{'INT'} = sub { $stop = 1 };
    
  2. or download this
    print "->CQ username: ";
    while (<STDIN>){
    ...
      last;
    }
    chomp ($username = <STDIN>);