Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    } else {
        print "Found only $found vowels\n";
    }
    
  2. or download this
    ($word =~ m/([aeiou])/g)
       # returns a list of all vowels found in $word
    ...
    
    $found = ( keys ... )
       # this assigns the number of unique vowels found into $found