in reply to Re: While two conditions
in thread While two conditions
It looks like it could be something for me, BUT - excuse my ignorance - waht kind of sintax is this:
my $query = qr{ (?<M>monk) (?(<M>)(?{do_something_different()})) | (?<P>perl) (?(<P>)(?{do_something()})) }x;
With perl 5.8.9 it just doesn't work
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: While two conditions
by Anonymous Monk on May 02, 2012 at 06:40 UTC |