Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Answer: How do I escape '#' pound sign?

( #31561=categorized answer: print w/ replies, xml ) Need Help??

Q&A > regular expressions > How do I escape '#' pound sign? contributed by Anonymous Monk

Simply by putting the pound inside quotes:
$val = q(#); $val2= "#";

Comment on Answer: How do I escape '#' pound sign?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-03-01 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (21 votes), past polls