Sorry if the text above seems a little rushed. I was on my way out from work. :-)

I double checked the main program, and it is actually suffering from the same issue as the reduced test.

If I put a delay in the writer, everything works fine. I was looking, however, for something I could do in the reader, as that will be the only half I have any control over in the end.

As far as I can tell, the problem seems to be that the reader is not seeing the closing of the pipe if another writer opens the pipe again soon enough. This seems to me to go against the point of the named pipe, though I suppose I could accept the rationalization that the reader is still "present" when the new writer opens the pipe (as the reader hasn't had time to close its end of the pipe yet), so it doesn't block, and there is still data comming in (from the new writer), so the reader doesn't see an eof... I guess. :-)

I suppose I should also include the apropriate information about my perl and OS:

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuratio +n: Platform: osname=linux, osvers=2.4.13, archname=i386-linux uname='linux duende 2.4.13 #1 wed oct 31 19:18:07 est 2001 i686 un +known '

... and so on. I really appreciate any info anyone can shed on this. TIA.

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.


In reply to (bbfu) (further thoughts) Re: Named pipes missing connections by bbfu
in thread Named pipes missing connections by bbfu

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.