Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 pondering the Monastery: (5)
As of 2015-07-04 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls