Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #
    ...
    my $msg = <STDIN>;
    print $sock "$msg\n";
    close $sock;
    
  2. or download this
    #!/usr/bin/perl
    #
    ...
        print $_;
    }
    close $sock;