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.
- Re: RFC 135 (v2) Require expli... Nathan Torkington
- Re: RFC 135 (v2) Require expli... Tom Christiansen
- Re: RFC 135 (v2) Require expli... Casey R. Tweten
- Re: RFC 135 (v2) Require expli... Nathan Wiger
- Re: RFC 135 (v2) Require expli... John Porter
- Re: RFC 135 (v2) Require expli... Bart Lateur
- Re: RFC 135 (v2) Require expli... John Porter
- New match and subst replacemen... Nathan Wiger
- Re: New match and subst replac... Randy J. Ray
- Re: New match and subst replac... Nathan Wiger
- Re: RFC 135 (v2) Require expli... Bart Lateur
- Re: RFC 135 (v2) Require expli... Damian Conway
- Re: RFC 135 (v2) Require expli... Bart Lateur
- Re: RFC 135 (v2) Require explicit m on matc... Peter Scott
- Re: RFC 135 (v2) Require explicit m on matches,... Damian Conway
- Re: RFC 135 (v2) Require explicit m on matches, even wi... Damian Conway
- RE: RFC 135 (v2) Require explicit m on matches, even wit... Fisher Mark
