Rather than writing:
{ my $foo = "Ignore the \\slash, expand $boo."; }
is it possible to do something like:
{ # do something to get perl # to treat '\' as an ordinary character # so that one may write: my $foo = "Ignore the \slash, expand $boo."; }
Thanks
In reply to Making escape (\) ordinary in double quotes by sg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |