Help for this page

Select Code to Download


  1. or download this
    my($src, $dst, $rule1) = (split /,/)[1];
    
  2. or download this
    my $src = (split /,/)[0];
    
  3. or download this
    $hash{$src} = $src;
    
  4. or download this
    $hash{$src}++; # count occurrences
    
  5. or download this
    next if $src =~ /$hash{$src}/;
    
  6. or download this
    foreach (keys %hash)
    {
      print "$_ was seen $hash{$_} times\n";
    }