Help for this page

Select Code to Download


  1. or download this
        my $verify_port = sub {
        my $port = shift;
    ...
            return FALSE;
        }
        };
    
  2. or download this
    # I ~love~ readonly. Primarily because you can write stuff like:
    # print "$MIN_TCP_PORT < x < $MAX_TCP_PORT\n";
    ...
    # (possible if verify_port() returns $port)
    my $ntp_port = verify_port($input)
      or die 'Invalid ntp port!';