Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Using pragma utf8::all in processing non-utf data.

by daxim (Chaplain)
on Sep 02, 2013 at 10:08 UTC ( #1051919=note: print w/ replies, xml ) Need Help??


in reply to Using pragma utf8::all in processing non-utf data.

utf8::all has no unimport routine, so you cannot disable it with no. Either do not use it when you do not need it, or undo its effects on filehandles:

binmode $fh, ':pop';

See PerlIO.


Comment on Re: Using pragma utf8::all in processing non-utf data.
Download Code
Re^2: Using pragma utf8::all in processing non-utf data.
by perl-diddler (Hermit) on Sep 02, 2013 at 17:45 UTC
    Can't override utf8?
    Does the "use bytes" pragma override utf8?... um... sure hoping so.. have progs that depend on that.
      The question was about utf8::all. utf8 is only one of its many effects.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-09-17 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (79 votes), past polls