in reply to Problems with open

I am thinking that the open might not fail, because it is only opening a link to $pager.
Until you actually try to send something to $pager, open is (may not be) doing anything with $pager
that would cause a failure.

Replies are listed 'Best First'.
Re: Problems with open
by Abigail-II (Bishop) on Jul 24, 2002 at 15:06 UTC
    What do you mean with "opening a link to $pager"?

    Abigail

Re: Re: Problems with open
by skerr1 (Sexton) on Jul 24, 2002 at 15:01 UTC
    The problem is is that the handle is not open when I try to print which tells me the open failed. The $pager (more) is a child of the FH process (which opened a pipe to whatever). If the child $pager failed, shouldn't that be returned and the "open" fail? Like my other question asks, in what case would this fail? The | works fine everytime and so the first chance for failure would come with the opening of $pager, right?

    Thanks,

    -Shannon