Help for this page

Select Code to Download


  1. or download this
        foreach $line (@data) {
            @line = split(/:/, $line);
    
  2. or download this
     warn "..." unless $type;<code>
    <p>which are both more efficient and clearer.
    
    <p>However, you then go on to use $type as a hash key in
    <p><code>       $by_type{$from}{$type} += $tmp_c;
    
  3. or download this
    print <<EOF;
    Note:
    ...
     necessarily add up to the total messages sent from an IP. The total i
    +s accurate and the
     breakdown may be short data.
    EOF
    
  4. or download this
    sub process_it {
        my ($rec_line)  = grep(/received from internet:/, @_);
    ...
        }
        $by_ips{$from}+= $total_c;
    }