in reply to Making escape (\) ordinary in double quotes

You can concatenate the variable along with the string containing '\' in (') single quote. Ex

my $foo  =  "Ignore the \slash, expand '.$boo;