Help for this page

Select Code to Download


  1. or download this
    
    use strict;
    ...
      chomp;
      my @ele = split /\s/,$_;
    
  2. or download this
    use strict;
    use warnings;
    ...
    3 dog cat hammer nail
    4 monkey cow hammer nail
    
  3. or download this
    foreach my $key (keys %res){
    
      if ($key =~ /monkey/) {
    
         print "monkey [occurence in $key] found in IDs:", (join ', ', @{$
    +res{$key}}), "\n";