Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: regex testing for ALL of the vowels in a scalar

by Roger (Parson)
on Feb 11, 2004 at 04:05 UTC ( [id://328140]=note: print w/replies, xml ) Need Help??

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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found