[sf-perl] qr{} question

frosty biztos at mac.com
Tue May 26 12:04:21 PDT 2009

Escape the pound sign and you're good.

my $BAR_REGEX = qr/ $BAR [^\#]+ -D $BAR /xms;

-- f.
On Tuesday, May 26, 2009, at 12:02PM, "Bill Moseley" <moseley at hank.org> wrote:
>On Tue, May 26, 2009 at 11:52:20AM -0700, David Alban wrote:
>>     Readonly my $FOO_REGEX => qr{ $FOO [^#]+ -D $FOO }xms;
>Is the "#" looking like a comment?
>Do you really mean to use "xms" or is that just what Perl Critic
>Bill Moseley.
>moseley at hank.org
>Sent from my iMutt
>SanFrancisco-pm mailing list
>SanFrancisco-pm at pm.org

More information about the SanFrancisco-pm mailing list