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