On Mon, 28 Aug 2000 20:26:41 -0700, Nathan Wiger wrote:

>   foreach (@str) {                 print "Got it" if match /\w+/, @str;
>      if (/\w+/) { $gotit = 1 };
>   }
>   print "Got it" if $gotit;
>
>Now if DWIM just worked for email as well... ;-)

You mean, like grep?

        print "Got it" if grep /\w+/, @str;

This one *currently works*. No need for a new feature.

-- 
        Bart.

Reply via email to