$tool =~ s/<infile>/$file/; [download]
$tool =~ s/<infile>/$file/g; [download]
In reply to Re: Substitution operator troubles by cbro in thread Substitution operator troubles by sabkat