No such thing as a small change | |
PerlMonks |
Re: variables allowed inside iterative loops in regular expressions?by Three (Pilgrim) |
on Nov 06, 2002 at 19:24 UTC ( [id://210850]=note: print w/replies, xml ) | Need Help?? |
You can do your substitusion this way with the following code. This returns a - I know this is a bit brute force but it does work. Hope this helps. Edit:Hey I went back and changed the $a $b to other varables and the regular way works. ex. Three
In Section
Seekers of Perl Wisdom
|
|