in reply to Perlscript is not generating output in files
Regardless, I suspect your issue is that:
$file_content[$u] = s/logo-$source_branch/logo-$cloneName/g ;
should read
$file_content[$u] =~ s/logo-$source_branch/logo-$cloneName/g ;
See Binding Operators if you are unsure why.
|
|---|