Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Perl strings questions

by choroba (Cardinal)
on Jun 02, 2021 at 11:10 UTC ( [id://11133411]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl strings questions
in thread Perl strings questions

> This is not a unicode string

It was, but PerlMonks can't display it in a <code> block :-(

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

Replies are listed 'Best First'.
Re^3: Perl strings questions
by haj (Vicar) on Jun 02, 2021 at 11:23 UTC

    Thanks for the info! I've added it to my article (a use utf8; would then be appropriate).

    So when I write &#945;&#946;&#947;&#945;abc123 inline, then it displays as αβγαabc123 - and when I write αβγαabc123 in a code block it displays as &#945;&#946;&#947;&#945;abc123. I didn't know that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found