|
|
| XP is just a number | |
| PerlMonks |
Re^5: Program Not Found when run from browser pageby harangzsolt33 (Deacon) |
| on Nov 14, 2024 at 02:12 UTC ( [id://11162696]=note: print w/replies, xml ) | Need Help?? |
|
Yeah, it's true, you don't need to double the backslash if they are enclosed in single quotes or q(), however if the backslash happens to be the last character in the string, then it must be double. So, it's just easier to remember to always double it.
Incorrect: 'C:\Windows\' Correct: 'C:\Windows\\' Incorrect: q(C:\Windows\) Correct: q(C:\Windows\\) This is easier to rememeber: 'C:\\Windows\\' or "C:\\Windows\\"
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||