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

Re: UTF-8 for Everything

by Khen1950fx (Canon)
on Jul 06, 2013 at 13:37 UTC ( #1042909=note: print w/replies, xml ) Need Help??

in reply to UTF-8 for Everything

Have you looked at utf8::all?
#!/usr/bin/perl use strict; use warnings; use utf8::all;

Replies are listed 'Best First'.
Re^2: UTF-8 for Everything
by shawnhcorey (Friar) on Jul 06, 2013 at 13:44 UTC

    Sadly, not part of the standards modules. ☹

      But everything utf8::all does is achievable with core modules. Take a look at the utf8::all source code and replicate what it does.

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1042909]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-07-23 20:04 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (347 votes). Check out past polls.