question about PerlIO

[email protected] (Cremers LMG)
Newsgroups perl.unicode
Message-ID <[email protected]>
I've used your clear description in 'Encode.html' to convert from cp1252 to
utf8,
using the lines:

use Encode;
open (INPUT,"<:encoding(cp1252)","$in")|| die "FileOpen fail: $in $!\n";
open (OUT,">:utf8","$out") || die "FileOpen 1 failed: $out : $!\n";

The script works fine on Unix, but when I run the compiled version on PC
(compiled with pp)
I get the following error:

"Can't locate PerlIO.pm in @INC (@INC contains: CODE(0xcab4e8) .)..."

The .pm is in the lib directory. The statement
"push(@INC,"c:\\Perl\\lib\\PerlIO.pm");" 
doesn't seem to help either.

Does anyone know how to solve this?

Thanks,
Lou Cremers





-------------------------------------------------------- 
Lou Cremers 
Manager Translation Services 
Océ Technologies B.V. 
International Training Centre 
Dr Blumenkampstr 3 
5914 PV Venlo 
The Netherlands 
<mailto:[email protected]> 
Tel: +31 (0)77-359 34 44 
Fax: +31 (0)77-359 54 27 
<http://www.oce.com/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.