Help for this page

Select Code to Download


  1. or download this
    Connection from 111.222.333.444, Mon Feb 12 08:53:27 2001
    EHLO mhub6.tc.umn.edu
    MAIL FROM:<user1@myotherhost.mydomain.net>
    ...
    QUIT - 2 sec. elapsed, connection closed Mon Feb 12 08:54:03 2001
    
    QUIT - 2 sec. elapsed, connection closed Mon Feb 12 08:54:03 2001
    
  2. or download this
    sub ParseIt {
            my $text = '';
            open (MERLOG,$log) || die "Unable to open $log:$!\n";
    ...
            # caveat for the last record because it will not be followed b
    +y a new record
            examine_record($text);
    }