in reply to Unable to retrieve the string bist_top_ctrl from a file

In addition to what ++jo37 advised, the regex should probably

See perlretut (tutorial) then perlre (details).

— Ken