in reply to Re: New regex modifier!
in thread New regex modifier!
except that you can combine the regex and the assignment.while (/pattern/g) { my ($x, $y, $z) = ($1, $2, $3); # ... }
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: New regex modifier!
by John M. Dlugosz (Monsignor) on Sep 12, 2001 at 04:10 UTC |