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

Re: stuck with a \N{CHAR NAME} problem

by wind (Priest)
on May 26, 2011 at 15:13 UTC ( [id://906850]=note: print w/replies, xml ) Need Help??


in reply to stuck with a \N{CHAR NAME} problem

You need to use double quotes to interpolate the character in $cgj:

my $cgj = "\N{COMBINING GRAPHEME JOINER}"; my $cgj_re = qr/$cgj/xms;

or just include it directly in the cached regex.

my $cgj_re = qr/\N{COMBINING GRAPHEME JOINER}/xms;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://906850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found