Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print the "\" character

Status
Not open for further replies.

jwwdale

IS-IT--Management
Nov 8, 2002
6
0
0
US
How can I print the "\" character within a string without perl looking at the "\" as an action type character? For instance my output needs to be along the lines of "The store \pau=1\ chicago \pau=1\ needs attention"
 
You have to put a '\' before any special character
print "\\"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top