(You have to backwhack the #, or m//x will consider it a comment.$x = '# a comment'; print "$&\n" if $x =~ m/^\#.* # A comment! /x;
Originally posted as a Categorized Answer.
In reply to Re: How do I escape '#' pound sign?
by ariels
in thread How do I escape '#' pound sign?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |