in reply to
Replacing with a variable in while loop
Do you just need global replacement?
$urlChop[1] =~ s/MATCH/$_/g;
[download]
Comment on
Re: Replacing with a variable in while loop
Download
Code
In Section
Seekers of Perl Wisdom