I am trying to read a Unicode text file and the code fragment is as
below:

use strict;
use warnings;

 and check that your open's worked and use better naming:

open my $lang_sample_fh, '<:utfd', $lang_sample
    or die "Could not open $lang_sample: $!";

Doing that will likley show you any problems or at least help make it easier for others to look at :)

so what output are you getting and what are you expecting??

line*

or

line
*

or

line
*line

or???

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to