in reply to regexp searches over array slices
but in the meantime, grep() is the tool for you:if (@array[3,4] ^=~ /\S/) { ... }
if (grep /\S/, @array[3,4]) { ... }
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: regexp searches over array slices
by tye (Sage) on Nov 09, 2001 at 03:42 UTC | |
by TheDamian (Vicar) on Nov 09, 2001 at 11:37 UTC | |
by japhy (Canon) on Nov 09, 2001 at 19:49 UTC | |
by tilly (Archbishop) on Nov 09, 2001 at 22:15 UTC | |
by tye (Sage) on Nov 09, 2001 at 20:36 UTC | |
by TheDamian (Vicar) on Nov 11, 2001 at 02:20 UTC | |
by tye (Sage) on Nov 12, 2001 at 02:59 UTC | |
| |
by japhy (Canon) on Nov 09, 2001 at 03:49 UTC |