http://qs321.pair.com?node_id=867607


in reply to Re: How to eval an array element in regex's substitution
in thread How to eval an array element in regex's substitution

Thank your very much.
Another question, maybe i refer to capture the square brackets ,
and then "eval" the array element. Such as:
$s =~ s/(\[\d{1,2}\])/$a$1/g; #output Hello $a[2]$a[1] # eval '$s="$s";'; ## Here ?
How to eval the $s's value?