Dear sir,

I have two array variables. I want to find $a[1] and replace $b[1] in a
file.
($a[1],$b[1] are array variables)
How to find and replace the variable contents.

for ($i=0;$i<$totalnum;$i++){
s/$a[i]/$b[i]/g;
}

Is it possible to do search and replace or kindly suggest me an idea


Thanking you

Regards
Baskaran NK


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



Reply via email to