Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Memory leak in unicode substitution

by holli (Abbot)
on Aug 30, 2019 at 17:06 UTC ( #11105315=note: print w/replies, xml ) Need Help??


in reply to Re: Memory leak in unicode substitution
in thread Memory leak in unicode substitution

Good catch, can confirm. Surprisingly, simply adding use utf8; doesn't fix it though. Aren't all string literals to be Unicode when utf8 is in effect?


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^3: Memory leak in unicode substitution
by choroba (Archbishop) on Aug 30, 2019 at 17:12 UTC
    No. use utf8; just means UTF-8 is used in the source code (both in string literals or identifiers). But even use feature qw( unicode_strings ); doesn't help here.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-09-24 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?