Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've a text file where content is in danish language. Now, if I try to read that file and print the contents only then they're modified. How can I get contents in exactly the same danish language. Please note that I've to find some patterns from this text file, that's why I'm trying to print here the file as it is.
$file = '/test.txt'; open(INFO, $file); @lines = <INFO>; close(INFO); print @lines;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to get exactly same text from a file
by McA (Priest) on Nov 26, 2012 at 12:22 UTC | |
Re: how to get exactly same text from a file
by Anonymous Monk on Nov 26, 2012 at 13:18 UTC | |
by Anonymous Monk on Nov 26, 2012 at 13:44 UTC | |
by rovf (Priest) on Nov 26, 2012 at 15:01 UTC | |
by Anonymous Monk on Nov 26, 2012 at 15:14 UTC | |
Re: how to get exactly same text from a file
by karlgoethebier (Abbot) on Nov 26, 2012 at 16:24 UTC | |
Re: how to get exactly same text from a file
by Anonymous Monk on Nov 26, 2012 at 13:15 UTC | |
by Anonymous Monk on Nov 26, 2012 at 13:15 UTC | |
by Anonymous Monk on Nov 26, 2012 at 17:11 UTC |