in reply to Re: backreference replaced as literal or just fails
in thread backreference replaced as literal or just fails
to mean$rrow_test =~ s/$rex[0]/$rex[1]/ig;
I'm setting the $rex array values on the 'split' line of the code. Am I understanding your point/question correctly or have I missed the mark altogether? Thanks."Replace the first occurrence of $rex[0] with $rex[1]."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: backreference replaced as literal or just fails
by kennethk (Abbot) on Mar 10, 2009 at 19:43 UTC | |
|
Re^3: backreference replaced as literal or just fails
by zwon (Abbot) on Mar 10, 2009 at 19:45 UTC |