Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-06-26 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (331 votes). Check out past polls.