Looking for this text : MyName='Custom' in a file.
Not sure how to code for this with the single quotes,
tried my $customTextinPrePostScript = "/MyName='Custom'/";
if ($line =~ /$customTextinPrePostScript/i) { do something}
How do I code it to match with the single quotes?