Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by Anonymous Monk
on Sep 08, 2000 at 13:01 UTC ( #31561=categorized answer: print w/replies, xml ) Need Help??

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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2017-09-20 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (234 votes). Check out past polls.

    Notices?