in reply to Re^2: Single Quotes - how to avoid any escape processing?
in thread Single Quotes - how to avoid any escape processing?
... your $PathOnly is in double quotes, so the backslashes there are i +nterpreted as escape sequences.
SteveDC: Ah, yes!
Don't know how you missed the warnings. You do have warnings enabled, right? Right?c:\@Work\Perl\monks>perl -wMstrict -le "my $PathOnly = qq{c:\Dir1\Dir2\taint_so}; print qq{>$PathOnly<}; " Unrecognized escape \D passed through at -e line 1. Unrecognized escape \D passed through at -e line 1. >c:Dir1Dir2 aint_so<
Give a man a fish: <%-{-{-{-<
|
|---|