Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/local/bin/perl5.00506 -Tw
    # add the -Tw for testing
    ...
    close(LOGFILE);
    print "Logged message successfully\n";
    exit;
    
  2. or download this
    #!/usr/local/bin/perl/perl -w 
     
    ...
    print ("$answer\n");
    close($socket);
    exit;