laziness, impatience, and hubris | |
PerlMonks |
Re: how to exec() with my filehandles !by superfrink (Curate) |
on May 21, 2010 at 19:10 UTC ( [id://841121]=note: print w/replies, xml ) | Need Help?? |
I think you might be looking to change STDIN, STDOUT, STDERR so they point to the files you have opened. See How do I dup() a filehandle in Perl?. Update: Sorry, I didn't actually read the code, just the description. It looks like you've already read about duplicating filehandles.
In Section
Seekers of Perl Wisdom
|
|