Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Unescaped left brace in regex is passed through in regex

by haukex (Archbishop)
on Jun 11, 2022 at 15:47 UTC ( [id://11144697]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unescaped left brace in regex is passed through in regex
in thread Unescaped left brace in regex is passed through in regex

$b="\N{U+007B}"

Note that's a double-quoted string, and you don't need to escape {'s there - unless of course you mean using that escape in a regex, and while /\N{U+007B}/ certainly works, it's a whole lot longer than the equivalent /\{/...

Are you suggesting that a person sandbox the application and boil the perl version up?

Yes, that's exactly the suggestion (though "test environment" would be more accurate than "sandbox"). It's of course a bit of work and may seem like overkill; many people do end up not doing this and jumping several years into the future like in this case. But when that then leads to problems (like in this case), one way to debug is to gradually step up the Perl versions so one catches all the deprecation warnings before they become fatal errors or confusing syntax errors.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found