in reply to How do you redirect STDIN using IO::File ?

Other people seem to have had similar issues before (and from the look of it, found the code in the same place), their solutions are to be found here :
Redirecting STDIN / STDOUT after fork
Win32 Perl: inheriting redirected STDIN and STDOUT in a child process

I am no expert, but maybe some of the suggestions made to the other OPs can help you.

Just a something something...
  • Comment on Re: How do you redirect STDIN using IO::File ?

Replies are listed 'Best First'.
Re^2: How do you redirect STDIN using IO::File ?
by malJam (Initiate) on Aug 27, 2009 at 11:31 UTC
    Thanks to BioLion for the input. But I have looked at those (and many other) posts. There are many such examples out on the net but they are all different in the details. Leaving a poor rookie somewhat bemused. In fact, that is why I wanted to try IO::File it looked a bit more like a certain J-language that I know a little better. Regards, Mal
      Thanks again, but I found it. Prayer works. Praise the Lord Jesus Christ. The first line of the "Changed 2" section can be the three-parm version of open with a fileno call to the IO::File object.
      open(STDIN, "<&", $savein->fileno ());