Help for this page

Select Code to Download


  1. or download this
    use Socket qw( inet_aton );
    while (<>) {
        my $host = extract_host($_);
        print(unpack('H8', inet_aton($host)), $_);
    }
    
  2. or download this
    my $last;
    my $count;
    ...
    if (defined($last)) {
        print("$last: $count\n");
    }