![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Special characters ignoredby tigervamp (Friar) |
on Oct 03, 2001 at 17:06 UTC ( [id://116432]=perlquestion: print w/replies, xml ) | Need Help?? |
tigervamp has asked for the wisdom of the Perl Monks concerning the following question:
I have a file that contains:
ab\r\n\032 That is, the five characters a, b, carraige return, new line, EOF marker. When I read in the file with conventional means, Perl seems to ignore/lose 2 characters. One example: This yields 3. It seems to ignore/lose the CR and EOF character. Why is this happening and how do I make it recognize all the characters so I can work with them easily.
Thanks
Back to
Seekers of Perl Wisdom
|
|