Thank you for your help. Ultimately, I found a hint at http://perldoc.perl.org/perlfaq6.html describing a method on file streaming. The specific code example I ended up studying (took me about three hours of reading to figure out what (?s) did. Another hour to figure out why $_ needed to be localized.) is:
local $_ = ""; while( sysread FH, $_, 8192, length ) { while( s/^((?s).*?)your_pattern/ ) { my $record = $1; # do stuff here. } }
Yes, I know the bug in this example. It's exactly how it is on the perldocs. Took me about an half hour of debugging to figure it out. Just about drove me nuts.
In any case, many thanks for the pointers, tips and hints. I needed some starting points and that is exactly what I got.

In reply to Re: Unix and Windows CRLF vs LF by SavannahLion
in thread Unix and Windows CRLF vs LF by SavannahLion

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.