sowraaj has asked for the wisdom of the Perl Monks concerning the following question:
I need to read/view a .chr file by using perl script. I tried this code but the file handler shows unrecognized word format. i got output like this 'Start(...bM-i<^DM-KNp2^D...)end'. This is my code
#!/usr/bin/perl use strict; use POSIX; use warnings; open (NEWFILE, "C:\\cygwin\\home\\Administrator\\test.chr"); print "Start"; while(<NEWFILE>) { print $_; } print "end";
I need all your support to view this file. Thanks in Advance
Regards,
Raj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: .CHR file read
by toolic (Bishop) on Dec 08, 2011 at 14:31 UTC | |
by sowraaj (Novice) on Dec 09, 2011 at 04:43 UTC | |
by Anonymous Monk on Dec 09, 2011 at 04:55 UTC | |
by sowraaj (Novice) on Dec 09, 2011 at 06:14 UTC | |
|
Re: .CHR file read
by keszler (Priest) on Dec 08, 2011 at 14:53 UTC | |
by johngg (Canon) on Dec 08, 2011 at 23:04 UTC | |
by keszler (Priest) on Dec 09, 2011 at 00:44 UTC | |
|
Re: .CHR file read
by sumeetgrover (Monk) on Dec 08, 2011 at 14:51 UTC |