Link to home
Start Free TrialLog in
Avatar of Raydot
Raydot

asked on

Escaping the pound sign?

How do I escape the pound sign (#) in Perl?

If I try to enter HEX color values I always get an error, # is used for comment lines.

Example:

print "<FONT COLOR='#FFFFFF'>"

That won't work for 100 different reasons.

Thanks...
ASKER CERTIFIED SOLUTION
Avatar of jhurst
jhurst

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Raydot
Raydot

ASKER

I think my problem was that I was using double and not single quotes around the hex color, actually.  So you didn't really answer my question, AND your example syntax was incorrect, but I'll give you the points, since I asked such a dumb question.