Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: How to eval an array element in regex's substitutionby Anonymous Monk |
on Oct 27, 2010 at 06:23 UTC ( [id://867620]=note: print w/replies, xml ) | Need Help?? |
Maybe you think it simply. The $s is dynamic.It is maybe "[2][1]" or maybe "[9] [8] [3]", . I only wanna to replace the [xx]with a fix array's element. But the rule is , the [xx] is index of the array!
In Section
Seekers of Perl Wisdom
|
|