http://www.perlmonks.org?node_id=1042909


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