Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Unicode file

by ikegami (Patriarch)
on Feb 17, 2011 at 18:47 UTC ( [id://888770]=note: print w/replies, xml ) Need Help??


in reply to Re: Unicode file
in thread Unicode file

To my (fuzzy) recollection, PerlIO wasn't used in 5.6 unless you explicitly selected to compile it in. It was still experimental. The same reason one doesn't work should prevent the other from working. I could very well be wrong, so I look forward to hearing why you think it should work.

In the meantime, 5.6 is being installed :) (Upd: IPC::SysV fails, and I'll too lazy to address that. )

Replies are listed 'Best First'.
Re^3: Unicode file
by ikegami (Patriarch) on Feb 17, 2011 at 20:35 UTC

    From Perl 5.6.2's Configure:

    Previous version of perl5 used the standard IO mechanisms as defined in <stdio.h>. Versions 5.003_02 and later of perl allow alternate IO mechanisms via a "PerlIO" abstraction, but the stdio mechanism is still the default. This abstraction layer can use AT&T's sfio (if you already have sfio installed) or regular stdio. Using PerlIO with sfio may cause problems with some extension modules. Using PerlIO with stdio is safe, but it is slower than plain stdio and therefore is not the default.

    If this doesn't make any sense to you, just accept the default 'n'. Use the experimental PerlIO abstraction layer? [n]

    The default build doesn't support PerlIO, and thus doesn't support PerlIO layers (e.g. :encoding, :utf8, etc).

Re^3: Unicode file
by Eliya (Vicar) on Feb 17, 2011 at 19:17 UTC

    ...just tried it.  Perl 5.6.0 says:

    Unknown open() mode '<:utf8' at ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-19 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found