|Perl Monk, Perl Meditation|
Perl ignores CarriageReturn during fileparsing. Why?by hoppfrosch (Scribe)
|on Jun 13, 2013 at 12:00 UTC||Need Help??|
hoppfrosch has asked for the
wisdom of the Perl Monks concerning the following question:
I've got a quite obscure problem concerning linewise parsing of files within my huge project.
Runnig this example standalone, everything works fine:
I do have almost the same code within a huge project. Running this code on the same file does not show the same behaviour within my project:
What's going wrong? It used to work formerly - I made a couple of changes "far away" fom this code sequence within my project.
What may perl cause to ignore the CarriageReturn during parsing with while <F>? How can I "force" perl to use carriageReturn as line separator?