Help for this page

Select Code to Download


  1. or download this
    ---------- BEGIN /cgi-bin/ip_addr ----------
    #!/bin/sh
    ...
    </html>
    __EOI__
    ----------- END /cgi-bin/ip_addr -----------
    
  2. or download this
    ---------- BEGIN /cgi-bin/ip_addr_as_text ----------
    #!/bin/sh
    ...
    die(...) unless (LWP::Simple::is_success());
    chomp($content);
    ----------- END client code -----------