I'm not assuming any fault other than my own here. I have no problems with perl doing what I ask of it.

What I'm trying to determine is whether I'm asking it to do things in the right order and in the right way to accomplish my goal.

In other words, I'm trying to determine the nature of my fault. I know that I've made a mistake somewhere, either in lack of knowledge or improper approach. I know this because it doesn't work, but I'm trying to ensure that I'm doing everything right on the perl side and that my understanding is correct.

I know that perl can interact with the interpreter and receive output from it.

I know that the approach I'm trying to automate works from a terminal. I'm just trying to determine the disparity between the approach I'm taking on the terminal and my attempts to automate it so that I have a better idea of what's going on, and so that people having similar problems in the future might be able to learn from my mistakes.


In reply to Re^6: Diagnosing blocking io (or: finding the WHY of my Open2 woes). by Socrates
in thread Diagnosing blocking io (or: finding the WHY of my Open2 woes). by Socrates

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.