Help for this page

Select Code to Download


  1. or download this
            my $webflags = 0;    
            fcntl(STDIN, F_GETFL, $webflags)
    ...
            $webflags |= O_NONBLOCK;
            fcntl(STDIN, F_SETFL, $webflags)
                or die "Couldn't set flags for HANDLE: $!\n";
    
  2. or download this
                    my $data = '';
                    my $buf;
    ...
                        $data .= $buf;
                        $buf = undef;
                    }
    
  3. or download this
    $server->run(
        [...some other stuff...]
    ...
        SSL_cert_file=> $config->{server}->{sslcert},
        [...some other stuff...]
    );