Your code is asking for files that have an a AND an e AND an i AND an o AND a u. What you probably want is
if ($file =~ /[aeiou]{2}/) { print $file; }
[aeiou] matches any one of those letters and {2} specifies that it should match two in a row.
In reply to Re: Vowel search
by GotToBTru
in thread Vowel search
by Noob@Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |