Bloody hell.

I'm largely thinking aloud, and this is not a deep meditation: I'm just wondering if it was a design decision to not allow ->input_record_separator to be handle specific. It seems rather silly and unintuitive, I started using IO::File a lot so I could turn off buffering on some streams, but it sure seems to lack some consistency. I really wanted to and did create a uniform method ->get_fh('file') so I could have centralized error-catching and logging for a system that might process multiple files using poe or the like. If one process takes on multiple concurrent FH what is the plan of action? -- Read the whole file in and split it with a regexen? If you have to match at the end of the line how do you go about setting m/$/m to a custom regex? Or should I ignore $ and compile the regex for each possible line termination.


grr sometimes


Evan Carroll
www.EvanCarroll.com

In reply to IO::File is gimp. by EvanCarroll

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.