Thanks a lot for all of you for helping and sorry for creating confusion by
not including code. I have ssh connection and I'm sending commands on CLI.
I just managed to fix the problem.

open ( OUTPUT , ">single.log" ) || genError ( 0, "Unable to open log file");
select ( OUTPUT );

This solved my problem.

Any one knows any good link on perl threading [FORK] ? Which can give me
detail info with example. How to create thread and use multiple threads?



Tushar Gokhale wrote:

> I've opened a connection to remote machine through perl script and sending
> commands and can see the output on screen but I want to put that output in
> File along with the commands that were send. how do I do that?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to