in reply to Re^7: $_ works, $my_variable doesn't?
in thread $_ works, $my_variable doesn't?
Checking in order of least to most frequent in English, of course.if ($somestring =~ /^(?=.*?u)(?=.*?i)(?=.*?o)(?=.*?a)(?=.*?e)/i) { print "$somestring contains all five vowels.\n"; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|