Hi,
I have a program which takes in server name as a parameter, forms a connection string and calls a DBI->connect with that server name. The problem is if the server name has backslash inside it "\", it escapes it and as a result, the connection fails. Ex: $server = "SERVER05\LDEV" is converted to "SERVER05dev", the characters coming after the "\L" is changed to lower case.
I tried to find and replace \L to \\L or to space, but it does not seem to work. Is there a way to treat the string as 'raw', i.e., without escape chars? Kindly advise.
In reply to replacing "\L" character in strings by ananthbv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |